search for: yaxpad

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

Did you mean: yaxpah
2008 Dec 15
0
wine: could not load and Bad EXE format for
...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 total, 3 unique (ordinal base = 1) Done dumping HelloImpl.dll Export 1 - '?printfString@@YAXPAD 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 &quot...
2008 Dec 15
1
WineLib and Java Native Interface (JNI) - UNIX
...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 HelloImpl.spec -o libhelloimpl.so HelloImpl_main.c -shared -fpic -I/usr/java/...