by "Chris Uppal" <chris.uppal@[EMAIL PROTECTED]
>
Nov 22, 2006 at 02:46 PM
aa@[EMAIL PROTECTED]
wrote:
> I try to start a Java virtual machine from a C++
> application (Windows XP). I have 'jdk1.5.0_08'
> installed and I am sure, that my application loads
> the appropriate jvm.dll.
Why are you so sure of that ? Are you using the Win32 API functions
LoadLibrary() and GetProcAddress() ? Or are you relying on the Windows
%Path%
to do "the right thing" ? Or have you hacked it somehow ?
> Here is my simple code, I
> receive always -1:
> [... snipped... ]
I can't see anything obviously wrong with that code. I suspect that the
problem is in something you haven't told us yet.
-- chris