Skip to content

Tag: dll

Need to reference and use a C# dll in Java

I need to reference a .Net dll in java. I have used jni4net libraries for the same. I have followed the steps mentioned in the video below : https://www.youtube.com/watch?time_continue=351&v=8OoSK_RWUe4 I have followed all the steps required to reference jni4net libraries but i get the following runtime E…

JNA calling CoInitialize when loading a dll

I’ve got a dll written in Pascal. I’ve determined that I need to run CoInitialize in the Java code, but I just can’t figure out how. I found another Stack Overflow thread which should have helped here: https://stackoverflow.com/questions/15763993 but I couldn’t understand how it actual…

Java Error opening registry key

I get this error when I try to do anything with Java in command prompt: I did screw around with deleting Java directories and registry a few days ago. I restarted computer and java was still working fine, then i restarted it again today and now I get this error. I have tried uninstalling and reinstalling but …