- Messages
- 39
- Country

Hi every one,
i'm new on this forum and start developping a solution with Simconnect and VB.net
I encounter a problem with the RecvQuitEventHandler instruction
her is the code which cause problem:
'this line is in the code of a click button function
AddHandler fsx_simconnect.OnRecvQuit, New SimConnect.RecvQuitEventHandler(AddressOf fsx_simconnect_OnRecvQuit)
then i have another function
Sub fsx_simconnect_OnRecvQuit(ByVal sender As SimConnect, ByVal data As SIMCONNECT_RECV)
but i have an error
'SIMCONNECT_RECV' is not accessible in this context, cause it is 'Private'.
Can i have any suggestion or explanation to solve this problem
thank's for your help
i'm new on this forum and start developping a solution with Simconnect and VB.net
I encounter a problem with the RecvQuitEventHandler instruction
her is the code which cause problem:
'this line is in the code of a click button function
AddHandler fsx_simconnect.OnRecvQuit, New SimConnect.RecvQuitEventHandler(AddressOf fsx_simconnect_OnRecvQuit)
then i have another function
Sub fsx_simconnect_OnRecvQuit(ByVal sender As SimConnect, ByVal data As SIMCONNECT_RECV)
but i have an error
'SIMCONNECT_RECV' is not accessible in this context, cause it is 'Private'.
Can i have any suggestion or explanation to solve this problem
thank's for your help
