FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > SimConnect > SimConnect

SimConnect Use this forum for all your SimConnect related discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 21 Sep 2007, 16:31
flying-w flying-w is offline
  wales
Join Date: Sep 2007
Posts: 42
ReservedKey sample

Anyone have the ReservedKey sample, or otherwise got this working.

The provided c++ sample registers the reserved key just fine. However the callback drops to the default of the case statement, in other words the callback does not seem to be recognised as ReservedKey.

I created an example in c#. The first callback I get from FSX is correct, and goes to the method registered by SimConnect.RecvReservedKeyEventHandler(). This is FSX telling me it is happy with my key choice.

Then I go over to FSX and hit my reserved key. However the callback is now wrong. It comes back to SimConnect.RecvEventEventHandler() instead, and so cannot be interpreted.

Either my understanding is wrong (always very possible) or SimConnect is wrong. I'm concerned its the latter since the off the shelf sample won't work.

Any clues?
Simon
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FSX oil rig sample file export problem in GMAX Dakota GMax and 3DS Max 13 13 Nov 2008 23:29
Panels SDK Sample with Visual C++ Express - Error Dima Tools programming 1 28 May 2007 10:43
VB Managed Data Request Sample Error matt SimConnect 0 28 Jan 2007 14:51
Simconnect.xml and AIObject sample guodah SimConnect 4 25 Jan 2007 16:26
Starting a Sample Joe SimConnect 1 13 Nov 2006 17:57


All times are GMT -4. The time now is 14:16.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.