confuse-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Confuse-devel] Confuse for windows


From: Martin Hedenfalk
Subject: Re: [Confuse-devel] Confuse for windows
Date: Tue, 04 Nov 2003 13:53:51 +0100

Hi,

I'm not sure about this, I'm no expert at linking in windows... Try
changing the calling convention: try appending __stdcall in front of the
functions (like int __stdcall cfg_parse).

/martin

On Mon, 2003-11-03 at 19:51, Samuel Mota wrote:
> Hi,
> 
> I was used to libConfuse under *nix environment, now I had to port my app to 
> Windos using Visual C++
> 6.0 ... but I'm with tons of "error LNK2001: unresolved external symbol" for 
> __imp__cfg_getstr,
> __imp__cfg_getsec, __imp__cfg_getnstr, __imp__cfg_getnsec, __imp__cfg_size, 
> __imp__cfg_free,
> __imp__cfg_parse and __imp__cfg_init (wow, I believe that it is all used 
> functions). (errors at link
> stage, compiling is OK)
> 
> I just copied the confuse.h into my include directory and are including 
> (#include "confuse.h") at my
> source ... at PROJECT -> SETTINGS -> LINK -> I've setted at "Object/library 
> modules"  the path for
> the libConfuse.lib (including the lib) ... just like I did with other 3rd 
> party c library that I'm
> using without errors.
> 
> What am I doing wrong? Please ... any ideas?
> 
> Thanks
> 
> + Samuel G. Mota
> + address@hidden
> + 55 (11) 4417 7093
> + Business Application Dpt.
> + Netset Serviços em Tecnologia
> + a Hypercom Company
> + http://www.hypercom.com
> 
> 
> 
> _______________________________________________
> Confuse-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/confuse-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]