10/26/2023 0 Comments Jbridge souce codeI've verified the file does exist in the path location and I've added it to the project properties for the include dir and the linker property pages. Int ret = JNI_CreateJavaVM(jvm, (void**)&env, &vm_args) Vm_args.version = JNI_VERSION_1_6 //JDK version. Options.optionString = "=D:\\Java Src\\TestStruct" System::Console::WriteLine("Hello Worldl from managed C++!") TODO: Add your methods for this class here. It's very simple and my goal is to call some Java methods in pre-existing java libs - here is the code I'm using: // This is the main DLL file. I'm getting a "error LNK1104: cannot open file \jvm.lib" when trying tocompile a VS C++/CLI (managed) project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |