If you saw the typical message about a 3rd party module having a problem and might not be safe to load (which I randomly get from *every* module, including FSUIPC, but not only, but so rarely that I don't really care), it's just a "panic" message from FSX that it cannot load the .DLL so, it's happening even before that .DLL had a chance to execute a single line of code.
No, this isn't random. That message only appears
AFTER an attempted load of FS has hung. I've never actually had it with any other module, and using ProcMon to see where it gets to when it does hang, it is always on BGLMANX.
[As an aside, I've never ever managed to get the loading problem with FSUIPC4 on any of 5 different systems here, which is a pity as I'd like to have nailed that one and it isn't possible without reproducing it].Most of the times, it's the WinSxS system that had an issue, like being confused which version of a side-by-side library it's supposed to load.
Yes, I got around that by not using the SxS system at all, just finding the SimConnect.DLLs and linking to the one of my choice dynamically, not statically or via manifests.
So, this is what usually causes the "3rd party module not safe" error. At that point, when you are being asked the question about running it, unless you reply "Yes", the module still haven't got a chance to execute any of its code.
I know, and agree. The loading sequence only hangs when it is executing the code. According to "WhatIsHang", which otherwise isn't very helpful, it's on a Windows API call. If I don't get anywhere I'll put my development environment on my cockpit PC to try to trace it and check the stack. But I'd rather not -- I like to keep that PC really clean of clutter not essential to the cockpit environment.
As an experiment, instead of letting SimConnect load it, I made FSUIPC load it and call its "DLLStart" function. That hung in the same way. If I delayed executing it until FS is "ready to fly" it crashes instead, so I gave up trying that way --- I assume it needs to get in before something else happens, possibly from COUATL.EXE?
And that's a thought too. It might not be another DLL loading and interacting (in fact, seeing as BGLMANX is usually my first loaded DLL it seems extremely unlikely). It might be one of the antics of the EXE's loaded by EXE.DLL. I've just remembered that those are loaded by SimConnect before the DLLs.
I'll try without the EXE.DLL and see what happens, loading the EXEs I need later. Come to think of it, I've only just recently started using Ultimate Traffic 2 again. It puts its UT2Services.exe in there. Hmm. Suspicious. I'll try without that. I can always start that later using FSUIPC ....
I'll report later, after some more experiments.
Yes, of course I have a logging version, I'll contact you with PM about it.
[/quote]
Right'O. That might be useful. I'll carry on with the elimination in the mean time.
Thanks & Regards
Pete