Register comdlg32.ocx on x64 Win7

Today when I run an old tool on my x64 win7, following error message is displayed: Component ‘COMDLG32.OCX’ or one of its dependencies is not correctly registered: a file is missing or invalid.

comdlg32.ocx missing error

Here is how to resolve comdlg32.ocx missing error.

  1. Download comdlg32.zip and extract comdlg32.ocx from zip file
  2. Move comdlg32.ocx to c:\Windows\system32 folder. For 64bit Vista/Win7, move comdlg32.ocx to c:\Windows\SysWOW64
  3. Open a command line window and run following command:

    regsvr32 c:\Windows\system32\comdlg32.ocx

    Note: a) On 64bit Vista/Win7, run this command instead:

    regsvr32 c:\Windows\SysWOW64\comdlg32.ocx

    b) For Vista/Win7 with UAC turn on, the above command needs to be run from elevated command prompt.

  4. Once comdlg32 is registered successfully, following message will prompt, DllRegisterServer in C:\WINDOWS\System32\comdlg32.ocx succeeded.
  5. Now launch the application again you should not see file missing error.

Update: Important note if you use WIN7: when registering comdlg32.ocx, it must be done as administrator, or regsvr32.exe will fail with error 0x8002801c.

To do this as administrator, Go to ‘All Programs -> Accessories -> Command Prompt’, right click on ‘Command Prompt’ icon, and click on ‘Run as administrator’ to start a command prompt, then run the regsvr32 command

91 thoughts on “Register comdlg32.ocx on x64 Win7

  1. Thank You for sharing this info.
    iCoolPlayer would not allow to burn cd.
    [Component ‘COMDLG32.OCX’ or one of its dependencies is not correctly registered: a file is missing or invalid.]
    Your instructions are perfect. Thanks to you I can now utilize the program and it’s tools conveniently.

  2. Thanks, it worked. I am able to get spell editor working after upgrading my system to win 7

  3. this fix doesn’t work for me… I have Vista Pro Home Edition – followed all the instructions – this is a timecoding program I need for work…

  4. @birdtoes, I didn’t test on Vista, but I was able to get this work on win7 and windows server 2008.

    Can you try copy the ocx file from another good vista machine, and see if it resolves your problem.

  5. Hi, I followed your instructions but I get this error:
    DLLRegisterServer failed with error code 0x8002801c

  6. @Lalo, when registering comdlg32.ocx, it must be done as adminsitrator, or regsvr32.exe will failed with error 0x8002801c.

    To do this as administrator, Go to ‘All Programs -> Accessories -> Command Prompt’, right click on ‘Command Prompt’ icon, and click on ‘Run as administrator’ to start a command prompt, then run the regsvr32 command.

  7. Hi, I did this but when I hit enter it says
    ‘ The module “c:\Windows\system32\comdlg32.ocx”
    failed to load.

    Make sure the binary is stored at the specified path or
    debug it to check for problems with the binary or
    dependent .DLL files.

    The specified moodule could not be found.’

    I don’t know what any of this stuff means so if anyone could help me please!!!!!!!!!!!!

  8. regsvr32 c:\Windows\system32\comdlg32.ocx
    i get an error 0x8002801c
    i have win7 how do i tell what tipe of win7?
    how do i fix this error so this new program will work?

  9. Windows 7, Excel 2007
    regsvr32 c:\Windows\system32\comdlg32.ocx at elevated command – registered successfully in sysWoW64.
    In Excel I get a “This control is not properly licensed error” still.
    This refers to CommonDialog controls
    I have tried restarting and rebooting to no effect.
    Help!

  10. @nathan, when registering comdlg32.ocx, it must be done as adminsitrator, or regsvr32.exe will failed with error 0x8002801c.

    To do this as administrator, Go to ‘All Programs -> Accessories -> Command Prompt’, right click on ‘Command Prompt’ icon, and click on ‘Run as administrator’ to start a command prompt, then run the regsvr32 command.

  11. Hi, I’ve followed your instructions, and it worked!
    However now I’m getting: MCI32.ocx is missing,

    can you help?

  12. When I followed these instructions it didn’t work, so I followed Emma’s and now it says it failed to load, make sure the binary is stored at the specified patch or debug it to check for problems with the binary or dependent .DLL files.

  13. Zrób tak dla vista 32 bit
    Aby to zrobić jako administrator, przejdź do “Wszystkie Programy -> Akcesoria -> Wiersz polecenia, kliknij prawym przyciskiem myszy na ikonę” Wiersz polecenia “i kliknij przycisk” Uruchom jako administrator “, aby rozpocząć wierszu polecenia, a następnie uruchom polecenia:
    regsvr32 c:\Windows\system32\comdlg32.ocx
    Spacja ma tylko występować po regsvr32 przed literą c dalej cała komenda bez spacji

  14. I am experiencing this behavior on a win 2008 R2 server which i’ve installed the application for terminal services. i can run the application fine. other users get the missing ocx message. Suggestions?

  15. Well, it succeeded for me, but i still cant open my application i need…It still give me same error

  16. OK tried to register on 64bit Win7 system and got
    The Module “c:\windows\sysWOW64\comdlg32.ocx”was loaded but the call to DllRegisterServer failed with error code 0x800281c.

  17. OK needed command prompt iwith Adminitrator rights, right click command prompt and run as admin.

  18. im tired off this, tried this and getting same erroe message “c:\windows\sysWOW64\comdlg32.ocx”was loaded but the call to DllRegisterServer failed with error code 0x800281c.
    I ran as admin and everything

  19. Thanks a lot, I was having troubles with iDoser, but now I can use it. The advice on running as administrator really helped a lot. :)

  20. I did everything you said and it even said it regestered correctly but it still won’t work!!! :(

  21. I think other way to solve this is simply installing Microsoft Explorer. It install all a lot of .OCX files

  22. running the Command Prompt as an administrator did the trick.
    regsvr32 c:\Windows\system32\comdlg32.ocx

    thanks emma :)

  23. Pingback: Carnolio » regsvr32 *.ocx on x64

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>