Re: [hlcoders] Java and Half-Life

2003-08-01 Thread botman
Has anyone successfully used JNI (Java Native Interface) with the Half-Life SDK? Whenever I run my mod with a call to JNI_CreateJavaVM(...), I get the following error message: Could not load client.dlleven though the statement never gets executed. If I remove the JNI_CreateJavaVM(...)

Re: Re: [hlcoders] Java and Half-Life

2003-08-01 Thread michael
[ Converted text/html to text/plain ] Java is EVIL! :) Jeffrey botman Broome And supprisingly similar to VGUI1 :P - Shimms ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Java and Half-Life

2003-08-01 Thread Steve Rukuts
Yes, in other words, evil. [EMAIL PROTECTED] wrote: [ Converted text/html to text/plain ] Java is EVIL! :) Jeffrey botman Broome And supprisingly similar to VGUI1 :P - Shimms ___ To unsubscribe, edit your list preferences, or view the list

Re: [hlcoders] Java and Half-Life

2003-08-01 Thread Joan M. Davis
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

Re: [hlcoders] Java and Half-Life

2003-08-01 Thread Sebastian Steinlechner
Hallo, Friday, August 1, 2003, 18:02, Joan M. Davis [EMAIL PROTECTED] wrote: 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

Re: [hlcoders] Java and Half-Life

2003-08-01 Thread Joan M. Davis
Yep, that seemed to be the problem. I put jvm.dll in the wrong directory. Figured it be something, simple :-). Thanks! - Original Message - From: Sebastian Steinlechner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 01, 2003 9:32 AM Subject: Re: [hlcoders] Java and Half

Re: [hlcoders] Java and Half-Life

2003-08-01 Thread botman
Maybe you need some library or dll for the java stuff which windows can't find upon loading your code. Then hl can't get a handle to your dll and bails out with the error. True. dumpbin /dependents client.dll on the MS-DOS command line will show the DLL dependencies of an executable so you

Re: [hlcoders] Java and Half-Life

2003-08-01 Thread Pat Magnan
Or if you're a GUI freak, right click view dependencies , or open the thing in Dependency Walker (visual studio tool - that may require enterprise edition, not sure). Nice little treeview of all the .dlls yours is dependent on, plus you can peek into what functions a dll exports, etc.. At 12:08 PM

[hlcoders] Java and Half-Life

2003-07-31 Thread Joan M. Davis
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Has anyone successfully used JNI (Java Native Interface) with the Half-Life SDK? Whenever I run my mod with a call to JNI_CreateJavaVM(...), I get the following error message: Could not load