I have some native code which runs fine under pjava. Now I need to do something in the JNI_OnLoad and JNI_OnUnload entrypoints. I added these to my dll, but it appears that they are not called. Are they supposed to work?

thanks
Charlie