Displaying 1 result from an estimated 1 matches for "myproxywinfunc".
2009 Sep 03
4
build wine dll problem
I am trying to follow the instructions here (http://www.winehq.org/docs/winelib-guide/bindlls-wrapper) to build a dll with wine that i can load dynamically in a windows wine application.
this is what i am doing:
MyWinDll.spec
Code:
2 stdcall MyWinFunc (int) MyProxyWinFunc
MyWin.c
Code:
#include <windef.h>
short MyProxyWinFunc(int *i)
{
return 5;
}
shell
Code:
winemaker --nosource-fix --dll --single-target MyWin --nomfc .
make
I get the following error:
Code:
/usr/lib/wine/libwinecrt0.a(exe_main.o): In function `main':
(.text+0xa9): undefined refe...