I managed to load two dll's
System.load("C:\\Program Files (x86)\\EXAMPLE Client\\Bin\\EXAMPLE.Client.SDK.dll");
System.load("C:\\Program Files (x86)\\EXAMPLE Client\\Bin\\EXAMPLE.Common.SDK.dll");
Next step is to create on object calls SDKModel
. How do I do this? I tried:
ActiveXComponent example = new ActiveXComponent("EXAMPLE.Common.SDK.SDKModel");
But then I get the following exception:
Exception in thread "main" com.jacob.com.ComFailException: Can't get object clsid from progid
I'm unsure whether I'm on the right track. How would create the object SDKModel
?