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

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

?? ????? ??

?????

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

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

????

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

????????

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

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

??????

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

???? ???????

??????? ?? ???: ??????? ???? ?? ??? ???

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

???

???? ID: 223152 - ????? ???????: 03 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Foundation Class Library 4.2, ?? ???? ??? ?????? ???? ???:
    • Microsoft Visual Basic 5.0 Learning Edition
    • Microsoft Visual Basic 5.0 Professional Edition
    • Microsoft Visual Basic 6.0 Professional Edition
    • Microsoft Visual Basic 5.0 Enterprise Edition
??????: 
kberrmsg kbtshoot kbcmnctrls kbctrl kbprb kbmt KB223152 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??: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