I'm trying to implement the code used in your SDK Visual C++ files into my program in Borland C++ Builder 6 to communicate with a Space Navigator. I've been on it for a week now. I'll write about the problems I've encountered and maybe you can help me out.
The first try was using the new SDK and just copying the code, copying the ATL files from Visual C++. Of course this didn't work, as the libraries wouldn't compile in C++ Builder.
The second try was using the old static siapp.lib and fellows. The program works, but does not initialize communication with the device. SiOpen returns NULL.
Today's try I used the new SDK libraries after brushing up my knowledge on COM communication, and I have the same problem as with the second try.
Code: Select all
hr = _3DxDevice.CoCreateInstance(__uuidof(Device));I also have a problem with
Code: Select all
#import "progid:TDxInput.Device.1" no_namespaceIf you can help me out in any way, please
Cheers,
PiotreX
