Displaying 1 result from an estimated 1 matches for "lhelloimpl".
Did you mean:
helloimpl
2008 Dec 15
0
wine: could not load and Bad EXE format for
...nction 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
./maintest
It show the problem:
wine: could not load L"Z:\\root\\huutri\\maintest.exe.so": Bad EXE format for