I have some native code that attempts to create a Java VM using code like
jint res = JNI_CreateJavaVM(&jvm, &env, &vm_args);
This worked fine until I moved it from one function of my DLL into my InitInstance()
of the DLL (so multiple functions in my DLL could utilise the JNIEnv*). Once
I moved it to InitInstance() this call just hangs, not returning an error
code or anything.
Anyone know what would cause this (not sure whether I'm better off posting
this in a C++ group or not...)
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL