I'm getting the familiar JNI error UnsatisfiedLinkError. In my particular case, the code works fine on Linux, but I get that dreaded error on Windows. I suspect its something to do with the build options. I'm using MinGW to build.
I compile with options like this: g++ -ggdb -c -U_WIN32 -D_JNI_IMPLEMENTATION_ -Wall TestUtilities.cpp
and link like this: g++ -shared -D_JNI_IMPLEMENTATION_ -Wl --kill-at --add-stdcall-alias -o JNI_API.dll TestUtilities.o Manager.o -lstdc++ -lws2_32
Finally, a DLL export viewer shows my function names beginning with "Java_", but I believe when I used to build this under VisualStudio, the names began with "_Java".