Search found 10 matches

by chrislu
Mon Nov 08, 2010 3:21 am
Forum: Developer's Forum for Windows
Topic: Why is there no usable SDK?
Replies: 8
Views: 20167

Re: Why is there no usable SDK?

Why is it so hard to provide a header/lib with an easy interface to be used in countless environments? Like this i think it is unusable! Also, the SDK pages states: What comes with the 3Dconnexion SDK - Documentation and updates - Sample Code in C++, Visual Basic and Java - Example applications sou...
by chrislu
Mon Nov 08, 2010 3:20 am
Forum: Developer's Forum for Windows
Topic: Why is there no usable SDK?
Replies: 8
Views: 20167

Why is there no usable SDK?

Hi, my problem is that 3Dx changed the SDK for the third time. And still they are unable to provide an easy to use library to get values from their devices. The 3DxInput COM interface was really ugly but i was able to wrap it quite easily. Now they bring in an MFC interface where noone uses MFC anym...
by chrislu
Mon Nov 08, 2010 3:13 am
Forum: Developer's Forum for Windows
Topic: 3DxInput Polling
Replies: 1
Views: 6555

3DxInput Polling

Hi, i am using code similar to an old 3DxInput example to poll the transformations from the device: CComPtr<IAngleAxis> rotation; CComPtr<IVector3D> translation; double rotation_angle; double translation_length; _3d_sensor->get_Rotation(&rotation); _3d_sensor->get_Translation(&translation); ...
by chrislu
Thu Jun 25, 2009 7:27 am
Forum: Developer's Forum for Windows
Topic: Qt4 and COM, events only on text console
Replies: 11
Views: 21196

ok thank you. just to show the solution: from my example code in the second post, the following has to be changed: using namespace ATL; #import "progid:TDxInput.Device" embedded_idl no_namespace // end com stuff #endif SCM_PLATFORM == SCM_PLATFORM_WINDOWS [module(type=dll, name = "scm...
by chrislu
Thu Jun 25, 2009 6:09 am
Forum: Developer's Forum for Windows
Topic: Qt4 and COM, events only on text console
Replies: 11
Views: 21196

Thank you!

But one more question. Where exactly do i have to place the [module] attribute to fix this?
by chrislu
Wed Jun 24, 2009 12:47 am
Forum: Developer's Forum for Windows
Topic: Qt4 and COM, events only on text console
Replies: 11
Views: 21196

hi, i just tried your suggestion enabling the log file. this is the result: 9:42:1.958: UdCtl: Protocol 30 request to open connection for hwnd 0x50eda. 9:42:1.958: UdCtl: App transport list: 9:42:1.958: 50 9:42:1.958: 30 9:42:1.958: 9:42:1.963: UdUi:TlReadConfigFile: Reading file: C:\Program Files\3...
by chrislu
Tue Jun 23, 2009 9:14 am
Forum: Developer's Forum for Windows
Topic: Qt4 and COM, events only on text console
Replies: 11
Views: 21196

hi, i allready tried overriding winEvent() of the widget and winEventFilter() of the application but as i said there is _nothing_ coming through. These functions are supposed to look at the events before Qt handles/discards them, but there is nothing coming in these functions when using the space na...
by chrislu
Sat Jun 20, 2009 4:18 am
Forum: Developer's Forum for Windows
Topic: Qt4 and COM, events only on text console
Replies: 11
Views: 21196

please could a driver developer look into this simple example. the only qt you need is in the last code segment of my previous post.

any help would be greatly appreciated.
by chrislu
Tue Jun 09, 2009 10:28 am
Forum: Developer's Forum for Windows
Topic: Qt4 and COM, events only on text console
Replies: 11
Views: 21196

the strangest thing is, i get the input events regardless what is in focus as long as the qt window is not in focus. could some of the developers look into this? here some sample code: #ifndef SCM_INPUT_SPACE_NAVIGATOR_DEVICE_H_INCLUDED #define SCM_INPUT_SPACE_NAVIGATOR_DEVICE_H_INCLUDED #include <s...
by chrislu
Sun Jun 07, 2009 9:05 am
Forum: Developer's Forum for Windows
Topic: Qt4 and COM, events only on text console
Replies: 11
Views: 21196

Qt4 and COM, events only on text console

Hi, i am trying to get input data from a space navigator via the COM interface. the initialization is running without any errors but i was getting no input events (__hook or polling) in the Qt4 application but i noticed when the startup console is in the focus everything works fine. when the actual ...