[Wine] Re: problem when use dll.so from wine app

vitamin wineforum-user at winehq.org
Tue Dec 16 20:57:12 CST 2008

david.nguyen wrote:
> i use winegcc to complie main.c and link to lib:
> winegcc main.c -o main -L. -lSimple.dll

Not correct. See this topic: http://forum.winehq.org/viewtopic.php?t=3177

Also double check calling conventions. Keep in mind default is cedecl not stdcall aka WINAPI.

More information about the wine-users mailing list