Paul/John,
As always, I appreciate your assistance. To better define the issue, the problem surfaced when updated to WAPID 1.0 and FusipcClient.dll 3.3.4.404; The app connects without issue and MSFSVariableServices works fine. However, when attempting to close the connection, the app immediately freezes and crashes; after a few attempts, it will also crash MSFS. Paul, your MSFSVariableSrvices_CS_V1.4 also crashes when attempting to stop MSFSVariableServices. Rolling back to FSUIPC7 7.6.16 and the previous WAPID resolves the issue, which I have asked my users to do for now.
Click Event Closing FSUIPC
private void Connect_Click(object sender, EventArgs e)
{
try
{
if (FSUIPCConnection.IsOpen)
{
try
{
// Connection is open so stop the timer and close the connection
this.fltSimTimer.Stop();
FSUIPCConnection.Close();
ConfigPicBoxes(picBoxConnect, Color.White);
if (Classes.FlagMgmt.chkLstThreadActive == true)
{
Classes.Copilot_CommonChkLstTasks.copilotChkLstFlowThread.Abort();
}
ConfigureButtons();
}
catch (Exception) { }
}
Event Logs
Faulting application name: FSUIPC7.exe, version: 7.3.1.7, time stamp: 0x63f77964
Faulting module name: FSUIPC7.exe, version: 7.3.1.7, time stamp: 0x63f77964
Exception code: 0xc0000005
Fault offset: 0x00000000000f0496
Faulting process id: 0x0x5808
Faulting application start time: 0x0x1D94A030C1CCBCF
Faulting application path: D:\MSFS Utilites\FSUIPC7\FSUIPC7.exe
Faulting module path: D:\MSFS Utilites\FSUIPC7\FSUIPC7.exe
Report Id: 015a8111-c695-49c2-993f-bfd10ae3584f
Faulting package full name:
Faulting package-relative application ID:
Faulting application name: FSFO_NEXT.exe, version: 1.2.11.0, time stamp: 0x829e5f1b
Faulting module name: FSUIPC_WAPID.dll, version: 0.0.0.0, time stamp: 0x63f4bd2f
Exception code: 0xc0000005
Fault offset: 0x0000000000003896
Faulting process id: 0x0x6FE4
Faulting application start time: 0x0x1D94A0405F731C2
Faulting application path: C:\Users\kingm\Dropbox\FSFO\FSFO_NEXT\FSFO_NEXT\bin\Release\FSFO_NEXT.exe
Faulting module path: C:\Users\kingm\Dropbox\FSFO\FSFO_NEXT\FSFO_NEXT\bin\Release\FSUIPC_WAPID.dll
Report Id: 70aa165c-3f0c-42d0-a5af-cb32313a2605
Faulting package full name:
Faulting package-relative application ID:
Paul
MSFSVariableSrvices_CS_V1.4 also crashes when attempting to stop MSFSVariableServices. It also crashed MSFS when I clicked STOP
Application: MSFSVariableServices_CSharp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FFA9B6D3896
Stack:
Faulting application name: MSFSVariableServices_CSharp.exe, version: 1.4.0.0, time stamp: 0x9c35aaae
Faulting module name: FSUIPC_WAPID.dll, version: 0.0.0.0, time stamp: 0x63f4bd2f
Exception code: 0xc0000005
Fault offset: 0x0000000000003896
Faulting process id: 0x0x70E4
Faulting application start time: 0x0x1D94A080C75EFA2
Faulting application path: C:\Users\kingm\Desktop\Development\MSFSVariableServices_CS_V1.4\MSFSVariableServices_CSharp\bin\Debug\MSFSVariableServices_CSharp.exe
Faulting module path: C:\Users\kingm\Desktop\Development\MSFSVariableServices_CS_V1.4\MSFSVariableServices_CSharp\bin\Debug\FSUIPC_WAPID.dll
Report Id: 95e7a8cf-b4c6-4e84-bed1-1ac075448fb2
Faulting package full name:
Faulting package-relative application ID:
Please let me know how else I can help!!
John
The part in underline is new, is this normal?
[INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 1.0.0 (WASM version 1.0.0) using connection -1
FSUIPC7.log