search for: helloimpl

Displaying 2 results from an estimated 2 matches for "helloimpl".

2008 Dec 15
0
wine: could not load and Bad EXE format for
...ment a WineLib wrapper. BUT after compile successful, I have run the function, it show me error as below: wine: could not load L"Z:\\root\\huutri\\maintest.exe.so": Bad EXE format for Can anybody can how to solve this problem? Thank in advance The below is some code: Code: 1. windows HelloImpl.dll __declspec(dllexport) void sayHello(char* sMsg); __declspec(dllexport) void writeNUM(int num); __declspec(dllexport) void printfString(char* sMsg); 2. winedump winedump spec -f dump HelloImpl.dll -I "*.h" Contents of "HelloImpl.dll": 49152 bytes 3 named symbols in DLL, 3 t...
2008 Dec 15
1
WineLib and Java Native Interface (JNI) - UNIX
...ib to wrapper Window Dlls to the Share Object Lib (so lib) (Using Winedump and Winegcc to build). The functions in the so lib can work normally with my C main test function. BUT when I call it from Java. The function can linked BUT it is crashed at the WineLib functions: hDLL = LoadLibraryA("HelloImpl.dll") or pFunc=(void*)GetProcAddress(hDLL,"?sayHello@@YAXPAD at Z"); The below is some my code: 1. Run winedump from window dll winedump spec -f dump HelloImpl.dll -I "*.h" 2. Add Java Native Interface to HelloImpl_main.c and make a Share Object lib (so) winegcc HelloI...