[GnuWin32-Users] (no subject)

2003-01-04 Thread Tim Stone - Four Stones Expressions
I'm trying to use gdbm 1.8.0, and am having trouble linking my program given the distributed libs. The problem is that I'm getting an unresolved extern on _gdbm_errno. gdbm.h defines an extern of gdbm_errno, and the libgdbm.lib has this as a symbol, but not with the preceeding underscore. I'm

Re: [GnuWin32-Users] (no subject)

2003-01-04 Thread Kees Zeelenberg
There has been a discussion on the mingw-users list about this. It has been summarized in: http://mywebpage.netscape.com/yongweiwu/stdcall.htm http://mywebpage.netscape.com/yongweiwu/dllfaq.htm Perhaps prefixing the extern declaration with __declspec(dllimport) solves your problem. Kees Zeelenber