search for: helloimpl_dl

Displaying 1 result from an estimated 1 matches for "helloimpl_dl".

Did you mean: helloimpl_dll
2008 Dec 15
0
wine: could not load and Bad EXE format for
...at Z' ... [OK] Export 2 - '?sayHello@@YAXPAD at Z' ... [OK] Export 3 - '?writeNUM@@YAXH at Z' ... [OK] 3. Winegcc to make so (Share Object) winegcc HelloImpl.spec -o libhelloimpl HelloImpl_main.c -shared -fPIC 4. write a c main function to try to call the so #include "HelloImpl_dll.h" int main(int argc, char **arg){ char sText[254]; HELLOIMPL_global_sayHello_2(sText); printf("Huu Tri %s", sText); return 0; } 5. Build the main funciton with winegcc and link to so lib winegcc -o maintest main.c -L. -lhelloimpl.dll Build successful BUT when trying to run...