Hi,
Il 21/01/22 05:32, Jinoh Kang ha scritto:
"CurrentIP@0" is a mangled symbol. The "@0" suffix means "this function follows the __stdcall calling convention, and it accepts 0 bytes of arguments."
However, export symbols are usually exported as unmangled names. Try:
DECLSPEC_IMPORT extern void *WINAPI CurrentIP(void);
Trying this on top of Mohamad's v3 patch doesn't fix the problem:
/usr/bin/i686-w64-mingw32-ld: dlls/wdscore/tests/main.cross.o: in function `test_CurrentIP': /home/giovanni/progetti/windows/wine/build32/../wine/dlls/wdscore/tests/main.c:33: undefined reference to `_imp__CurrentIP@0' /usr/bin/i686-w64-mingw32-ld: /home/giovanni/progetti/windows/wine/build32/../wine/dlls/wdscore/tests/main.c:33: undefined reference to `_imp__CurrentIP@0' collect2: error: ld returned 1 exit status
Giovanni.