Left click>properties of the file to check to be sure its exact location.
(under administer, in my case for Vista, click Start>All Programs>Accessories>Command Prompt(left click command prompt, click "Run as Administrator")Īlso keep in mind that for 64 bit Vista and Windows 7, Comdlg32.ocx needs to be placed in c:\Windows\SysWOW64, this makes its registration command prompt "regsvr32 c:\Windows\SysWOW64\comdlg32.ocx", which I'd imagine is also done as "Run as administrator" under command prompt. Instead of "regsvr32 C:\WINDOWS\system32\COMDLG32.ocx", mine was "regsvr32 C:\SwSetup\MSWorks\System32\Comdlg32.ocx"īe sure to check under properties of the file you put under System32 for the exact location of the file you wish to register, then put regsvr32 with a space and the correct file location directory to register it. After registration the OCX file may not be moved without re-registering it.
Registration of OCX and DLL files is done by the program Regsvr32.exe, which can be found in the windows\system or windows\system32 directory. The OCX file must then be registered by Windows before it can be used. To check for dependencies, all you need is to specify the folder and select the dll, the application will list out all the files in that folder linked to. DependsChecker is a freeware application which is developed to find which all dll / exe / ocx in a folder uses a particular dll. This will be my first post on this board.Īnyway, I'm using Windows Vista 32-bit for my OS. The OCX file may be put in any location on the disk. Dynamic-link library or DLL are core of Windows OS and there are lots of files linked to dll, exe and ocx files. Again thanks for the original post just awesome! That excerpt from another related site although having nothing to do with running SEGA Cue Maker solved my problem with this a little more extensive searching (38 seconds on google to retrieve it - hey i was drunk dammit!) Therefore let the professionals explain why a mildly retarded computer programmer couldn't figure this out for about 3 months i've been kicking myself in the nuts trying to get it done.
The \Windows\System32\ dir is for 64 bit dlls only. you can then run "regsvr32Ĭ:\Windows\SysWOW64\Comdlg32.ocx" and it will register the file. Can you add to this Do you know of any applications not already listed which will work with. The Comdlg32.ocx in the \Windows\SysWOW64\ dir. A component within a Windows environment. There is no 64 bit version of comdlg32.ocx. Just do a search for a 64 bit of this file for example on Google
His system file he should see it as such.Īs an example Same as before Win98 was 32 bit and was running 16 bit from "Peter Foldes" wrote in which is the same(comdlg32.ocx ) on a 64bit and if the OP will check in Similarly to programs that are created and compiled using Microsoft Visual C, the program would require. Note that you need to enter the name of the OCX or DLL file manually.Dude you rock! EXACTLY WHAT I NEEDED FOR SO DAMN LONG ITS NOT EVEN FUNNY - GO AHEAD AND LAUGH - (ahem anyone running a monster machine with a 4ghz+ liquid cooled & overclocked AMD Phenom Black Edition, 8GB of RAM and dual bridged ATI Radeon 4870s to run most of the larger MAME roms and CD based console gaming systems SHOULD ALREADY KNOW THIS!!!!!!! DOH!!?) TO UTILIZE THIS ON A 64-bit version of Windows Vista read on below: CAB files are used by windows installation engines such as Setup API, device installer and advpack.
CAB file is a compressed archive which supports DEFLATE, Quantum, and LZX compression. Cabinet files were known originally as Diamond files. So now I needed to combine this into 1 script and add my own knowledge to be able to register the OCX files (it also works for DLL files), and then check if they have an entry in the HKEY_CLASSES_ROOT\TypeLib registry path. cab file name extensions and are recognized by their first 4 bytes MSCF. I found this script on the Microsoft technet gallery, by Rohn Edwards, which is very usefull for this task.
It appeared that I needed to search the registry for a certain value, because the registered item is added to a subkey of HKEY_CLASSES_ROOT\TypeLib. Then I needed a way to check if the item was succesfully registered. Normally this gives some output, which I didn’t need, so I added | Out-Null to the line of creating the PSDrive.
I found out that HKEY_CLASSES_ROOT didn’t exist as a PS drive, thus it needed to be created (thank you Lior Elia for your blog post on this subject). I needed to register serveral OCX files and wanted to be able to check if the result was succesfull, so my automation script could continue.