Log in

View Full Version : COMDLG32.OCX for sub2sami !?


ukb007
9th April 2004, 06:29
Hi.

I've downloaded sub2sami.zip and on extraction there are three files:

1. Iron_Giant.smi
2. Pi.smi
3. Sub2Sami.exe

Running the .exe in Win Me gives this error message:

Failed to load 'CommonDialog' from COMDLG32.OCX. Your version of COMDLG32.OCX may be outdated. Make sure you are using the version of the control that was provided with your application.
OK

COMDLG32.OCX is an activeX control file (dating 1997) in my windows/system. Where do I get an updated file ? Micro$oft ? And then I just replace mine with that one ? Please tell me before I make my OS unusable. I'm running DirectX 9.0b if that's in any way related to the problem.

Thanks and regards.

Dimmer
9th April 2004, 21:49
What version of Windows are you running? Most likely, you need to apply the latest service pack, or at least extract that file from such service pack and register it using regsvr32. That OCX also used to some with Visual Studio service packs. Either way, you should be able to get it from Microsoft site.

ukb007
10th April 2004, 00:31
I am running Windows Me 4.90.3000 (c) Micro$oft 1981-2000. I'm sorry, can you please elaborate your answer a little more ?
And can running the program under Windows xp solve the issue ?

Regards.

Dimmer
10th April 2004, 08:43
Yes, the best solution would be switching to XP. Anyway, here's that OCX on the MS web site: http://activex.microsoft.com/controls/vb6/COMDLG32.CAB
You have to copy it along with the .INF file to c:\windows\system32, right click on the .INF and select Install. If that doesn't work, open command prompt and type:
regsvr32 c:\windows\system32\comdlg32.ocx

Don't forget to back up the original file before doing this.

ukb007
11th April 2004, 00:58
Thanks very much for the link. I have downloaded the file.

I remember, back in the college days, in my first statistics class the teacher said: When you throw a buttered toast up, the chances of it not falling with the buttered side down is less than half. And I had wondered: Half of what ?

Sorry for being dense. You wrote: You have to copy it along with the .INF file . Well, what .INF file ?

I can open the command prompt and run the .OCX as you have said. But will that need that infernal .INF file ? :)

Thanks agin, and regards.

DeKSoft
11th April 2004, 03:22
You can use Subtitle Workshop to convert the file to SAMI or many other formats anyway. It doesn't need any OCX nor Visual Basic runtime files :)

Dimmer
11th April 2004, 06:10
Originally posted by ukb007
Sorry for being dense. You wrote: You have to copy it along with the .INF file . Well, what .INF file ?There are two files in that .CAB: COMDLG32.OCX and COMDLG32.INF. The latter is a text file with installation instructions for Windows. Not sure whether WinMe will handle it correctly; if not, try regsvr32 method. The deal here is that if you simply copy the new OCX files over the old one, it might not work properly.

ukb007
11th April 2004, 08:37
DeKSoft's suggestion is eminently acceptable. Dimmer's explanation is famously instructive. I have to do both: the first one for immediate functionality, and the second one for that age-old instinct of Homo sapiens: darkness is scary and should be avoided at all costs, so let's go through it.

Thanks, guys. My regards.

ukendt
11th April 2004, 09:58
Your english is exquisite although Your choice of words may be
of some ancient roots.........
I suppose You are an english man, unless Your knowledge of the language comes from books alone..........
Anyway, Your comments will be always welcome in this forum.
Sincerely
Your moderator:o

ukb007
12th April 2004, 02:50
Thanks for your kind post.

I can't say I'm not a little concerned about the way you have used a capital (upper-case) Y in addressing me in the second person. Such capitals are reserved for God, or so I thought. I feel that I am already up there in the clouds with a halo around my head .:) My insurance agent will start phoning for the undertaker if he spots your post.

Regards.