Splash Posted October 15, 2023 Report Posted October 15, 2023 (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 October 15, 2023 by Splash Quote
Cameron Posted February 5 Report Posted February 5 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. Quote
Splash Posted March 1 Author Report Posted March 1 Could of posted that months ago. Thank you. 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.