First off, im a relative noob in regards to c++. Im a java programmer and a c++ hacker! i can make stuff work in c++ but im sure it aint pretty!
Scope of my issue;
My Java application needs to communicate with this COM object.
Obvious solution is using java JNI (Java Native Interface).
The procedure is, that you include some header in a cpp project that was autogenerated by the JNI tool, and thus makes a wrapper that communicates with the COM dll.
My problem starts right there.
In Visual Studio 2003, i have added the COM as a reference to my managed DLL project, but im unable to *use it*.
I do not have a lib or a header to go along with the COM.
I've used dumpbin to get an idea of what methods are available
I have a
#import "C:\\Programmer\\update.interface BTB 3.5\\MMInterfaceLib.dll"
wich yields a c1083 "cannot open type library". error. dunno if this is needed or not!
I have tried
wich does plain out not work!
hInstLib = LoadLibrary("mmInterface.dll");
wich does give me a reference, but alas, the rest of the method signature is unknown to me !
I've found some sites that describes a way to hack together a lib ... but while im allready in over my head, taking this step is sure to drown me at this moment....
Also, the login method i wanna execute is returning a complex type (struct i assume), wich i have no structural clue ablout! (except for seeing it briefely in some C# code weeks ago)
Ideas, suggestions ?
Please !!!!!! ...