OnCourse Software http://www.ocs-support.co.uk/forums/ |
|
Runtime 91 error in PF3 http://www.ocs-support.co.uk/forums/viewtopic.php?t=2680 |
Page 7 of 9 |
Author: | Dave March [ Tue Aug 29, 2017 9:13 am ] |
Post subject: | Re: Runtime 91 error in PF3 |
George, I've made some changes to our PF3_Validate program, which will now check to confirm each of the DLL's and ActiveX controls installed by PF3 are actually registered correctly. Please unzip the attached into your main PF3 folder and either run it direct of via the PF3 Options #2 menu |
Author: | 7X7VirtualPilot [ Tue Aug 29, 2017 10:15 pm ] |
Post subject: | Re: Runtime 91 error in PF3 |
Good news and bad news. The program runs indicating there are no problems, that is also the bad news. I've included two files: 1.Validate-StartupLog.zip is the validate log and startup log as a result of installing the program and running it off of the option #2 menu. 2. Validate After Boot.zip is just the validate log from a standalone run of the validate program after a boot of the system. I did not boot before running the program the first time. First programming was Fortran IV on the IBM in college and first PC was Level 1 Basic on the TRS-80 Model 1 both circa 1979. I worked at Radio Shack part time. Heady days indeed! Ready for that Macallans yet? Cheers, George |
Author: | Dave March [ Wed Aug 30, 2017 3:52 pm ] |
Post subject: | Re: Runtime 91 error in PF3 |
Well I'm fast running our of ideas! Please remind me again what AV and other security programs you are running. I'm sure you've already mentioned it but (a) I can't remember and (b) and too lazy to scroll back thought this 7 page thread! If the DLL's are registered correctly, which they appear to be, then the problem is when PF3 attempts to create an object... that's the poit the 91 error pops up. So is it possible you have some system preventing this to happen due to privileges, etc? Clutching at straws I know. Perhaps the next thing to try would be (1) disconnect your PC from the Internet (2) terminate all running programs such as your Av and any other security type apps (3) see if the PF3 error continues |
Author: | 7X7VirtualPilot [ Wed Aug 30, 2017 10:44 pm ] |
Post subject: | Re: Runtime 91 error in PF3 |
The only security program I run is Windows Defender and I have the PF3 folder excluded from the AV scans. I removed both Bitdefender and Acronis Backup as I saw what appeared to be problems from them early on regarding ransomware defense. Both programs raised hell, or appeared to, when installing FSX:SE after installing Windows 10. A bummer as I've spent a fair coin on them and liked their features. I unplugged the Internet, turned off Windows Defender, both via the UI and went into CCleaner and turned off the program SecurityHealth (MSASCuiL.exe). No difference. Here's the thing. Why do some flight plans work and some don't? I would (mistakenly) think that either they all work or all fail. But you have loaded up my flight plans and they work just fine. Why only in certain instances is there a problem creating an object? I know, the $64K question. Your continuing effort is appreciated, thanks again, George |
Author: | ThomasAH [ Thu Aug 31, 2017 7:27 am ] |
Post subject: | Re: Runtime 91 error in PF3 |
No real ideas, just continuing to guess: Are you doing exactly the same things after loading them? (i.e. setting SID/STAR marks, adjusting cruise altitude, ..., or nothing of these things) Do the affected flight plans work if you don't open the altitude adjustment screen? (you can disable automatically opening it after loading the flight plan, or maybe that is even the default) |
Author: | 7X7VirtualPilot [ Thu Aug 31, 2017 9:37 am ] |
Post subject: | Re: Runtime 91 error in PF3 |
Exactly the same things. If I don't attempt to Adjust Altitudes, SIDs, STARs and Holds, there is no problem. Nothing different there. My guess is that you're setting up a table(s) when you adjust the altitudes, etc and there is something about that process that is abending (is abending a mainframe term? ![]() Cheers, George |
Author: | Dave March [ Thu Aug 31, 2017 1:46 pm ] |
Post subject: | Re: Runtime 91 error in PF3 |
No, it has nothing to do with setting up tables, etc. When you hot that 'Quick Edit' button the code simple creates an object t create a tool tip and that's what kicks the 91 error 'object variable not set', which of course it is. As mentioned earlier, if the DLL wasn't registered correctly you would get the same error. I don't use Skype but I'm happy to take a remote look at your system using TeamViewer? |
Author: | voju24 [ Thu Aug 31, 2017 7:21 pm ] |
Post subject: | Re: Runtime 91 error in PF3 |
Hi George, My PC originally ran the base Windows 10, I did both the anniversary upgrade and the Creator's update. The PC was built 2 years ago and always ran some sort of Windows 10. |
Author: | 7X7VirtualPilot [ Fri Sep 01, 2017 2:06 am ] |
Post subject: | Re: Runtime 91 error in PF3 |
I see about setting up an object, but is that different for different flight plans? And on a "bad" flight plan, it is one of three actions that cause the problem. 1. Button to Set END of SID/DP 2. Button to Set START of STAR 3. Check the box to Activate quick-entry mode Any one of those actions will cause a "bad" flight plan to get an immediate '91'. So far they will NEVER create a '91' on a 'good' flight plan. Absolutely consistent. My low level way of expressing setting up of a table should have been phrased as creating an object. Those activities are done at a higher level now, but underneath that is what you're doing. When you create such an object, do you pass any variables to the routine that creates the object? Like number of rows (waypoints or whatever) that are expected to be processed? I'm trying to understand if there is something in memory management that is having a problem with some size that is present on some flight plans but not others. I'm up for whatever puts this to rest. I've never used TeamViewer but if you hum a few bars...(twist of an old joke). |
Author: | ThomasAH [ Fri Sep 01, 2017 5:24 am ] |
Post subject: | Re: Runtime 91 error in PF3 |
Dave, could you create a test version that disables the tooltips for those fields/buttons? This way you could see if this is the only problem, and a permanent workaround could even be to allow disabling tooltips. |
Page 7 of 9 | All times are UTC+01:00 |
Powered by phpBB® Forum Software © phpBB Limited |