Nope, not in DllMain. The code exists in a new class that I created. However, the class is never instantiated; thus, the JNI_CreateJavaVM() is never invoked. For some reason, the existence of the method causes the error in Half-Life. That's the confusing part.
It's been about 7 years since I mucked around with C++....The fix is probably simple. I just gotta figure out what it is. :-) -joan > > Whenever I run my mod with a call to JNI_CreateJavaVM(...), I get the > > following error message: Could not load client.dll....even though the > > statement never gets executed. If I remove the JNI_CreateJavaVM(...) > > statement, the mod runs fine. Very odd. > > Nope, never tried this. Where in the code are you trying to create the > virtual machine (in DllMain, I'd assume)? > > Java is EVIL! :) > > Jeffrey "botman" Broome > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

