Windows 7 Home Premium 64 bits.
I already talked about my problem in other topics but I think it will be easier for LM admin to help me with only one topic.
I have a 32 bit exec application which use SimConnect SP1A, it was working perfectly in P3DV3 but not in P3DV4.
This application is no longer maintained by the developper, and I woulk like to find a solution.
As it was working in P3D V3, I understand it should also work in P3D V4 as it is an external 32 bit exec.
I made a lot of investigation and wrote a little program which only do an Simconnect_open.
With SP1A SDK environnement//------------------------------------------------------------------------------
//
// SimConnect Test open
//
//------------------------------------------------------------------------------
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <strsafe.h>
#include "SimConnect.h"
int quit = 0;
HANDLE hSimConnect = NULL;
void testOpen()
{
HRESULT hr;
hr = SimConnect_Open(&hSimConnect, "Test Open", NULL, 0, 0, 0);
printf("%X",hr);
if (hr == S_OK)
{
printf("\nConnected to Flight Simulator!");
} else {
printf("\nNot Connected to Flight Simulator!");
}
while( 0 == quit )
{
Sleep(1);
}
hr = SimConnect_Close(hSimConnect);
}
int __cdecl _tmain(int argc, _TCHAR* argv[])
{
testOpen();
return 0;
}
It works perfectly in P3DV3 with a return code 0 for the SimConnect_Open function
In P3DV4 the return code is 80004005 which is not easy for me to diagnose.
With SP2 SDK environnement
No problem at all it works with both P3DV3 and P3DV4.
Thank you very much for your help.
Cheers
Claude