Jump to content

IXEG for XP12 Crashes My Plugin - On Windows, are you changing privilege levels during load?


Recommended Posts

Posted (edited)

All,

Windows only:

When the IXEG loads in XP12, it appears that the running code changes current privilege level to another privilege level. Does any of the code while loading the aircraft elevate or un-elevate current context (run as different user)?

Please confirm.

My plugin fails to load because of this issue.

My observations: I want to spare you the implementation details, here's what you need to know:

When my plugin starts it registers a moniker in the Running Objects Table (ROT) in order to share an instance in Xplane's process address space to another application running in another address space that wants to use the shared instance to communicate with Xplane (inter process communication via COM services using a moniker). When IXEG finished loading the ROT registration is gone (or at least no accessible from the context of the executing thread that wants to use the shared instance). This usually is cause of mismatched privilege levels between running process thread and another thread in another process trying to access the ROT to look up the object which doesn't exist anymore

This only happens when I load the IXEG 737, all other installed planes worked (even 3rd party). The culprit is therefore IXEG.

So what's changed? In XP11 this was not an issue with IXEG. 

Edited by Splash
  • 3 months later...
Posted
2 hours ago, Splash said:

Project is dead?

Nope, but what you're trying to do is no longer possible in 12. Your observation of a changed privilege level is correct. This is by design and not something to be changed.

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...