Hi !
Like lots of beginners on SimConnect programming, I'm trying to make work the sample Resquest Data (Managed code sample from the SDK).
My project compiles well (I use a reference to Microsoft.FlightSimulator.SimConnect.dll (RTM 10.0.60905.0) in my C# project).
Of course, I choose "Release & Any CPU" to compile my project.
I develop on Windows XP 32 PRO & Visual Studio Pro 2008.
I test on Windows 7 Home 64 (with FSX installed).
I tried to install on my two pc, the following version of SimConnect client :
- 10.0.60905
- 10.0.61242
- 10.0.61259
But when I'm trying to launch my little sample : Impossible to load the file or assembly :
Someone have an idea about that ?
Thanks in advance and sorry for my english level...
Like lots of beginners on SimConnect programming, I'm trying to make work the sample Resquest Data (Managed code sample from the SDK).
My project compiles well (I use a reference to Microsoft.FlightSimulator.SimConnect.dll (RTM 10.0.60905.0) in my C# project).
Of course, I choose "Release & Any CPU" to compile my project.
I develop on Windows XP 32 PRO & Visual Studio Pro 2008.
I test on Windows 7 Home 64 (with FSX installed).
I tried to install on my two pc, the following version of SimConnect client :
- 10.0.60905
- 10.0.61242
- 10.0.61259
But when I'm trying to launch my little sample : Impossible to load the file or assembly :
Code:
System.BadImageFormatException: Impossible de charger le fichier ou l'assembly 'Microsoft.FlightSimulator.SimConnect, Version=10.0.60905.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ou une de ses dépendances. Tentative de chargement d’un programme de format incorrect.
Nom du fichier*: 'Microsoft.FlightSimulator.SimConnect, Version=10.0.60905.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
à PFSTrackerForm.Form1.DefWndProc(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.Form.WmNCDestroy(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Someone have an idea about that ?
Thanks in advance and sorry for my english level...

