I have been assigned to generate a DLL based on the current 3DxWare SDK, to later import it in our own Java environment to use the 3D space mouse.
When accessing the Initialization function from Java, the system returns an error when executing the SiOpenEx function, as
Code: Select all
if ((deviceHandle = SiOpenEx(L"spacemouse", SI_ANY_DEVICE, SI_NO_MASK, SI_EVENT, &oData)) == NULL)
returns NULL. I have a feeling it might have to do with the given "app name", which I am totally unaware of what value that should have, since the C++ project does not generate an .exe file, but .dll and .lib files.
Am I totally wrong, or does anyone around have experience on generating a DLL for their projects?
Thank you in advance, it will be really appreciated.