???? ????? ??? "?????? ??? & H80004005" ?? ????? Visual Basic 6.0 ??? ?????? MFC ActiveX ?????? ??????? ????? ?? ?? ???? ?????? ?????? Comctl32.dll

?????? ????????? ?????? ?????????
???? ???????: 223152 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

?????? ActiveX MFC ?????? ??????? ??? ?? ?? ?????? ???? ????? ?????? ??????? Comctl32.dll ????? ?????? ??? ?? .exe Visual Basic 6.0.
"?????? ??? & H80004005 (-2147467259). ??? ??? ????"
???? ????? ??????? ???? ???? ActiveX ??? ASSERT ?? ??? Ctlcore.cpp ?? ????? COleControl::CreateControlWindow, ?? ?????? ?? ????? 662.

???? ??? ??????? ??? ??? ????? .exe ?? Visual Basic 6.0 ????? ?? ???? ???? ????? Visual Basic.

?????

??????? ????????? Microsoft Visual Basic ?? ????? ????? ?????? ??????? (Comctl32.dll) ???? ???????? ??? ???? CreateEx ???? COleControl::CreateControlWindow ????????. ??????? GetLastError() ???? 0x0000057F - ????? ?????? ??? ??? ?????? ???? ???? ??? ????? ?????? ??????? ??? ?? ??? ????? ???? ????.

????

????? ?????? ?? ???? InitInstance ???? ???? ActiveX ?:
InitCommonControls(void)
??
InitCommonControlsEx(LPINITCOMMONCONTROLSEX lpInitCtrls)
??? ???? ????? Comctl32.dll ??? ????? ??? ????? ?? ????? ????? ???? ?????? ??.

????? ?? ??????? InitCommonControls ?? ??? ???? ?????? "? ????? ????? ??????? ?? ?????? ?? ????? ?????? Visual Basic:
  • ??? ????? ??? ??????? ??????? ???????; ??? ???? ??????:
    Private Declare Sub InitCommonControls Lib "comctl32.dll" ()
  • ????? ???????:
    InitCommonControls
    					
    ?? ????? Form_Load.
?? ??? ???????? ?? ???? ??? ???? ?? ??? ????? ????? ????? ????? ?????? ???????. ????? ?? ???????? ????? ??? ???????? ?? InitInstance ???? ??????.

?????

????? ??? ?????? ??? ???????.

??????? ????

????? ????? ????? ??????

  1. ???????? Visual C++ ? ????? ???? ???? MFC ActiveX ? ????? ???? ???? ActiveX ???????.
  2. ?? ?????? "??????? ??????" ?? AppWizard (?????? 2 ?? Visual AppWizard 6.0 C++) ? ?? ??? ?????? ??? ??? ????? ???? ??? ????????? ???????: msctls_hotkey32 msctls_progress32 SysTabControl32 msctls_statusbar32 SysListView32 msctls_trackbar32 SysHeader32 msctls_updown32 SysAnimate32, ?? SysTreeView32.
  3. ????? ???? ??????.
  4. ???? Microsoft Visual Basic 6.0 ?? ????? ????? Exe ????? ????.
  5. ?? ??????? ??????? ???? ??? ?????? ?? ??? ???? ?????? ???? ??? ??????? ???????? Microsoft Visual C++.
  6. ??? ???? ?????? ??? ?? ???? ???? ?? ??????? ??????.
  7. ?? ??????? ???? ???? ??? ???? Project.exe ?? ????? ?? ???.
  8. ????? ??? ?????? Windows ?? ????? ??? ?????? ???????.

???????

???? ???????: 223152 - ????? ??? ??????: 30/????/1427 - ??????: 3.1
????? ???
  • Microsoft Foundation Class Library 4.2, ????? ?????? ??:
    • Microsoft Visual C++ 5.0 Standard Edition
    • Microsoft Visual C++ 6.0 Service Pack 5
    • Microsoft Visual Basic 5.0 Learning Edition
    • Microsoft Visual Basic 6.0 Learning Edition
    • Microsoft Visual Basic 5.0 Professional Edition
    • Microsoft Visual Basic 6.0 Professional Edition
    • Microsoft Visual Basic 5.0 Enterprise Edition
    • Microsoft Visual Basic Enterprise Edition for Windows 6.0
????? ??????: 
kbmt kberrmsg kbtshoot kbcmnctrls kbctrl kbprb KB223152 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????223152

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com