xie jason wrote:
can any one help me?
Yes, it looks like you're using the wrong calling convention.
int add(int a, int b)
{
int (*pFunc)(int, int);
This should probably be "int (* __stdcall pFunc)(int, int);"
int retVal;
pFunc=(void*)GetProcAddress(hDLL,"vgMat
hi all,
I was trying to compile a simple windows
application using winelib. it crashs and returns:
err:seh:setup_exception stack overflow 12 bytes in
thread 0009 eip 60169224 esp 00230ff4 stack
0x231000-0x34
I first convert a .dll, which contains a simple add
function (int add(int a, in