Jump to content
The simFlight Network Forums

Faulting module name: FSUIPC_WAPID.dll


kingm56
 Share

Recommended Posts

Good day, Mr Dowson. 

When trying to access the WAPID.dll via C# application, the appliction crashes with the error below.  I believe this is an access error; howerver, I'd be grateful for your opinion

 

        private void Dashboard_Load(object sender, EventArgs e)
        {
            try
            {
                vs.OnVariablesReadyChanged += VS_OnVariablesReadyChanged;
                vs.Init(this.Handle);
                vs.LVARUpdateFrequency = 10; // Get new lvar values 10 times per second (Hz)
                vs.Start();
            }
            catch (Exception) { }
        }
        private void VS_OnVariablesReadyChanged(object sender, EventArgs e)
        {
            try
            {
                if (vs.VariablesReady)
                {
                    Forms.Main.AppendMsgCtrText(Environment.NewLine + "WASM Module Started", Color.PaleGreen, true);
                }
                else
                {
                    Forms.Main.AppendMsgCtrText(Environment.NewLine + "WASM Module Stopped", Color.Orange, true);
                }
            }
            catch (Exception) { }

        }

Error

Faulting module name: FSUIPC_WAPID.dll, version: 0.0.0.0, time stamp: 0x60e59e60
Exception code: 0xc0000005
Fault offset: 0x000000000000722c
Faulting process id: 0x40d4
Faulting application start time: 0x01d77c0232fdc7ce

Link to comment
Share on other sites

I'm sorry but I can't really support C#. If using C# and the WAPID.dll you should try with Paul Henty's dll for .NET (if not using already) which is also compatible with the WAPID - see 

 

Paul may also be able to help with FSUIPC access via C#  if you post in his sub-forum: https://forum.simflight.com/forum/167-fsuipc-client-dll-for-net/

John

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.