C# MDI application - Pb of Space Pilot reconnection

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
cglandieres
Posts: 2
Joined: Fri Jul 04, 2008 12:47 am

C# MDI application - Pb of Space Pilot reconnection

Post by cglandieres »

Hello,

I'm currently writing a MDI application in C# on Windows XP.
When I open a window in my application the space mouse works well. Then when I close this window (without closing my application), and open an another window, I don't receive any more events from my space mouse.
I use TdxInput.dll for catching the space mouse events.
When I close my first window, I call the method Disconnect on the device and I unsubscribe the window to the space mouse events.
On the contraty , When I open an another window I call the method Connect on the device and I subscribe the window to the space mouse events.
Is somebody have an idea to resolve my pb ?

Thanks a lot,
Post Reply