I think Comdlg32.ocx does not work in 64-bit computers. RRS feed

  • 질문

  • I was just creating a simple WSH script using ActiveX control "MSComDlg.CommonDialog".

    I run it in 64-bit CScript/WScript, and they said that they couldn't create the object.

    And I run it in 32-bit CScript/WScript (they are in C:\Windows\SysWOW64) and they reports error CDERR_INITIALIZATION error. (CommonDialog: The common dialog function failed during initialization. This error often occurs when insufficient memory is available.)

    There's memory enough to run a Common Dialog.

    There were 696 MB available!

    Are those errors occured because my computer is 64-bit computer?

    My computer's OS is Windows 7 Ultimate Edition SP1 (64-bit).

    (This article might be posted to wrong forum. I couldn't know where to post it.)

    Jin-oh on

    2012년 4월 11일 수요일 오전 3:09

모든 응답

  • Hi 초등학생이야님,           

    Welcome to MSDN.

    I have searched CDERR_INIALIZATION.  I think it is not problem from 64 bit computer.

    The common dialog box function failed during initialization. This error often occurs when sufficient memory is not available.


    Troubleshooting Insufficient Memory Errors

    메모리 부족 오류 문제 해결(번역본)


    Forum Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    2012년 4월 12일 목요일 오전 8:58
  • There was much memory but I'm afraid it did not help to solve problems.
    I hope there are other way to solve this problem.

    Jin-oh on

    2012년 11월 2일 금요일 오전 11:35