View Full Version : tabdock.ocx problem when starting ObPlacerXML
Just got a new system, with Vista.
I used the same folder I have in my old system for ObPlacer XML 0.83 (copied the folder over).
Then I ran mwgfxdll.exe. Vista gave me some sort of a warning about it possibly not being compatible, but I went ahead.
Then I ran ObPlacerXML, but it gives me the error "Component 'tabdock.ocx' or one of its dependencies not correctly registered: a file is missing or invalid."
I think it is better to run the installer for ObPlacer XML again, so that you are sure you have all runtime files. Else you will have to register those files manually as the message says.
On XP that works with the regsvr32 command, but I don't know if it is the same on Vista.
It worked for the install. No problem starting ObPlacer 083 now.
But when I create any project, just a simple library object located somewhere, when I tell it to compile bgl, ObPlacer closes (windows tells me "Ob Placer has stopped working"), and no bgl is to be found anywhere.
Does the error contain any additional information on what is going wrong? Sounds like a crash, but without more information that is hard to debug.
I did some work on it and it is now working. I thought you might be interested in what I found, so here it goes.
1. I used the installer, as you suggested, and the problem with "tabdock.ocx missing" went away.
2. ObPlacer XML 083 (from now on I'll call it "ObPlacer") then started without problems.
3. ObPlacer would do what it had to, including save the xml file with all the objects properly coded.
3. Then the problem of closing occurred when I told it to compile bgl. I couldn't troubleshoot that, because there was no more error information, only that ObPlacer had "closed".
4. Then I tried to manually compile the xml that it had created and that worked, all objects appeared where they should. The only thing is that I used my own bglcomp.exe, in my BGLCOMP folder.
5. That's when I decided to try to compile manually using your bglcomp.exe, in the ObPlacer folder, and it didn't work. It says it works, but it doesn't.
6. Then I moved your bglcomp.exe and bglcomp.xsd to a "Cuts" folder and copied my own files into it. Same thing, wold not compile the "test.xml" file.
7. Then I moved your original bglcomp.exe and xsd files to another folder OUTSIDE Program Files and... it worked!
8. Then I copied the entire ObPlacer XML folder from C;\Progam Files\SceneryDesign.org\ to a folder OUTSIDE Progam Files, in My Documents, and it all worked.
9. Just for testing, I made a "Temporary" folder inside the original ObPlacer XML folder in Program Files, placed bglcomp.exe and xsd in there, and it didn't work either.
For some reason the bglcomp.exe and xsd do not want to work inside the C:\Program Files\SceneryDesign.org. I have no idea why.
So, my immediate problem is fixed (ObPlacer folder moved to My Documents), but there must be something funny there, and I don't know what it is. Probably some Vista peculiarity, but it may be worth investigating.
02 Nov 2007, 18:03
I think the program files folder is marked read-only in Vista. I got so fed up with r-o folders I disabled UAC and have no more problems.
Thanks Fern, hopefully this can help other users as well. I guess it could indeed be a read-only problem as suggested by George.
I must say I don't have Vista installed myself, so I can not really debug this kind of problems. Also, after having tried Vista, I am sure I will not install it again soon.
Hi, Arno and George
I bought a new HP system to replace this old HP (Windows XP), which is my workhorse. Unfortunately, at the store level, there is no choice: It is Vista or nothing. I hear that HP will downgrade to XP on request, but I haven't investigated that yet.
By the way, Vista has problems with FS: FS only works properly in "full-screen" mode. It doesn't work well with other windows open, which is what we need for scenery... There are tonnes of reports about this all over the Web. (I am a Microsoft sympathiser, but one would count on Vista working well with its own cousin-software...
So, as soon as I have some time, I'll investigate the "read only" thing about the Prgoram Files folder and report back to you fellows.
This may affect other of Arno's tools, the ones I use the most, such as the Tweaker and the Library Creator.
05 Nov 2007, 17:02
By the way, Vista has problems with FS: FS only works properly in "full-screen" mode. It doesn't work well with other windows open, which is what we need for scenery...
That's not true Fern, I ran FSX pre and post SP2 in windowed mode (even in DX10 preview mode) and it works perfectly on 64 bit Vista.
I guess the problem here is that while compiling a temp file is written in the folder where the program is installed. I guess that is no longer allowed on Vista, I would probably have to use an "application data" folder in the user profile or so.
24 Nov 2009, 02:43
Had the same problem and I have Windows 7 64 bit. I corrected it by changing the compatibility mode to Windows XP. Works from there.
vBulletin® v3.8.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.