Search found 9 matches

by gjaegy
Thu May 10, 2007 6:05 am
Forum: Developer's Forum for Windows
Topic: Getting translation range
Replies: 4
Views: 12377

Yes, I am using the new COM interface now. I don't want the customer to have to create a profile for the application, as it may be a complicated step for some of them (even if it seems very simple for you and me/IT professionals/young people). As I said, I absolutely need to know the range. Checking...
by gjaegy
Thu May 10, 2007 12:23 am
Forum: Developer's Forum for Windows
Topic: Getting translation range
Replies: 4
Views: 12377

Hi, thanks for the answer. Anyway I don't think any of these solutions is appliable. 1) Use HID or DirectInput. That (currently) takes the driver out of the path and anything the user does in the 3Dx control panel is ignored. Too much work 2) You could create a config file for your application that ...
by gjaegy
Wed May 09, 2007 3:49 am
Forum: Developer's Forum for Windows
Topic: Getting translation range
Replies: 4
Views: 12377

Getting translation range

Hi, I would need to get access to the max/min values of the translation values returned. I have noticed that those values change if the user change the speed in the configuration panel. So is there a way of getting access to it? I need to have a normalized translation (-1.0 / 1.0) so I need this ran...
by gjaegy
Wed Mar 28, 2007 6:45 am
Forum: Developer's Forum for Windows
Topic: no ATL headers
Replies: 10
Views: 27059

Concerning your second remark, you are absolutely right, I have changed my code, thanks ! Concerning the first one, I got confused because in my first attempt I used plain pointers, called ->Release() and got a crash when the TDxInput.dll dll was unloaded. But with _Ptr objects you are right, it doe...
by gjaegy
Wed Mar 28, 2007 6:17 am
Forum: Developer's Forum for Windows
Topic: no ATL headers
Replies: 10
Views: 27059

Hi, thanks again for the quick response! I resolved my issue using the following code. I hope this may help other people as well: ISimpleDevicePtr m_pDevice; ISensorPtr m_p3DSensor; IKeyboardPtr m_p3DKeyboard; // create instance gjBool bDeviceFound = gjFALSE; hr = CoCreateInstance(__uuidof(Device), ...
by gjaegy
Wed Mar 28, 2007 4:47 am
Forum: Developer's Forum for Windows
Topic: no ATL headers
Replies: 10
Views: 27059

Hi, thanks a lot for the information, to be honnest I don't have any experience with COM. Using plain pointers (or _Ptr suffix), how should I handle the instanciation of the objects ? I guess I would have to call CoCreateInstance(), but I have no idea what the parameters should be. The first one sho...
by gjaegy
Wed Mar 28, 2007 12:21 am
Forum: Developer's Forum for Windows
Topic: no ATL headers
Replies: 10
Views: 27059

Hi, thanks for your answer. actually I am building a plain Win32 app (no MFC). in order to use COM, one has to use CComPtr objects (CComPtr<ISensor> and CComPtr<IKeyboard>); this CComPtr objects are only defined in <atlbase>, so I have to include at least this header. Does someone have an example of...
by gjaegy
Fri Mar 23, 2007 1:02 am
Forum: Developer's Forum for Windows
Topic: no ATL headers
Replies: 10
Views: 27059

no ATL headers

Hi,

I wonder if there is a way to use the latest SDK without including all of these ATL headers ?

Should I go back to the old SDK or is there any other solution to have the SpaceNavigator support in our engine without those headers ?

Cheers,
Gregory Jaegy
by gjaegy
Thu Mar 22, 2007 8:35 am
Forum: Windows Discussion Forum
Topic: standard and personal edition drivers
Replies: 1
Views: 6322

standard and personal edition drivers

Hi, I understand there is no technical difference between the personal and standard edition. I am planning to implement the support for the space navigator into our engine, so I wonder why there are two different driver sets then, one for the PE and one for the SE ? Only because of the license text ...