Search found 7 matches

by superema
Sun Sep 26, 2010 2:52 am
Forum: Developer's Forum for Windows
Topic: Help: How to constrain up vector? Implementing helicopter
Replies: 2
Views: 8461

Is this example in the last version of SDK? I'm using an older one, maybe I've to go and catch it.
by superema
Thu Sep 23, 2010 8:26 am
Forum: Developer's Forum for Windows
Topic: Help: How to constrain up vector? Implementing helicopter
Replies: 2
Views: 8461

Help: How to constrain up vector? Implementing helicopter

Hello, I'm trying to implement the so called helicopter mode. I take Axis Angle rotation from Sensor Input and want to move my camera like an helicopter: Yaw around the current right vector, Pitch around current up vector (local Z, that is my default Up), no Roll. In other words I want to constrain ...
by superema
Tue Jan 05, 2010 12:37 pm
Forum: Developer's Forum for Windows
Topic: VS2005 MFC example?
Replies: 8
Views: 17661

Found

Thank you.
by superema
Tue Jan 05, 2010 3:52 am
Forum: Developer's Forum for Windows
Topic: VS2005 MFC example?
Replies: 8
Views: 17661

Old Archive Disappeared

Hi,

I cannot find the old win32 sdk any more, where is it in the website?

thanks
by superema
Mon Jan 04, 2010 10:44 am
Forum: Developer's Forum for Windows
Topic: Unable to Hook after Unhook
Replies: 1
Views: 5596

Solved

Actually the problem was a bit different:

the class had two member pointers
to the sensor and to the keyboard.

The first instance, even if it released the pointers, was not destroyed.
I destroyed it and now it works...
by superema
Mon Jan 04, 2010 10:32 am
Forum: Developer's Forum for Windows
Topic: Unable to Hook after Unhook
Replies: 1
Views: 5596

Unable to Hook after Unhook

Hello I wrote a class that is an event_receiver of a 3D Mouse. It can Connect, hook to events and Disconnect. The first time I istance and connect one of them, it handles key events correctly. Then, after disconnecting, deleting and creating a new instance and reconnecting, it is does not receive ev...
by superema
Sun Jan 03, 2010 3:12 pm
Forum: Developer's Forum for Windows
Topic: ATL event_receiver in a static library
Replies: 0
Views: 6639

ATL event_receiver in a static library

Hello

I wanted to put an event_receiver class into a static library, but I always have this error:

mfcs90ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 già definito in TD3DxMouse.lib(TD3DxMouse.obj)

when I link it to my MFC app.

What should I do??

Thanks