????? ????? ?????? ???? ??????? ActiveX ?? ????? MFC

?????? ????????? ?????? ?????????
???? ???????: 200555 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

??????

???? MFC ????????? ???????? ?? ???????? OLE ??? ???? ? ???? ????? ???????. ???? ??? ??????? ??????? ???????? ??? ??????? ?? ????? ??????? MFC.

??????? ????

?? ??????? ????? ?????? ??? ??????? ?? ?????? MFC ?????? ??? DLL ???? ????? ????? ???? ?????? ??? ??????. ????? ?? ????????? ??? ????? ??????? DLL ?????? ??? MFC ???? 57 Technote (TN057) ?????? "????? ?????? MFC." ????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
208983????? ??????? DLLs LOC MFC
??? ?? ??? DLL MFC4xLOC ?????? workable ??? ???? ??? ???? ????? ???? ????? ????? ???? ???????. ?????? ????? ???? ??????? ???????:
  1. ???? ?????? ?????? ???? ??????? ?????? ?? ??????? ???????? MFC ???? DLL (????? ?????? ?? mfc\include\Afxctl.rc). ????? ????? ????? ??????? ??? ????.
  2. ???????? "????? ???" ? "???? ?????? ?????? ???? ????? ???? ???? ???? ????? OLE ????? ?? CStockPropPage (?? ???? ????? ???? ????? ?????? ???????? ????????? ????? ??). ??? ????? ??? "????? ???" ??? ??? ???? ??? ??? ??? ??? ???????.
  3. ?? ???? ???????? ???????? ?? ??? MFC ??????? ???? ???? ??????? ??????. ??? ???? ??????? ??? ?? ????? CFontPropPage ?? ???? ?????? ???????? ??? ????????? ???????? ?? mfc\src\ppgfont.cpp ? mfc\include\afxctl.h. ???? ??? ????????? ????????.

    • ????? ??? ??? ??? ??? ?????? ??????? OLE ?????? ????? ??. ??? ???? ??????? ????? ???? ??????? CFontPropPage ??? CMyLatinFontPage
    • ??????? CLSID ???? ??????? ?? ??? "????? ???" ?? IMPLEMENT_OLECREATE_EX
    • ??????? ?????? ????? ????? ????? ?????? ? ??????? ?????????
    • ?? ???? ??????? ????? ??? MFC ???? ????
       #include <afxpriv.h>
       #include "../src/oleimpl2.h"
       #include "../src/afximpl.h"
        
    						
  4. ??? ?? ????? ?? ????? ?? ???? ??????? OLE, ???? ?? ????? ????????? ??? ??????? BEGIN_PROPPAGEID ?? ??? ????? ???? ??????. ??? ???? ??????:
       BEGIN_PROPPAGEIDS(CSuperCtrl, 2)
    	PROPPAGEID(CSuperPropPage::guid)
    	PROPPAGEID(CMyLatinFontPage::guid)
       END_PROPPAGEIDS(CSuperCtrl)
    					
??? ????? ????? ???? ??????? ??????? ?? ?? ???????? ?????? ?????? ? ?? ???? ??????? ????? ?? ??????? ??? ????? ????? ??????? ?????? ????????? ???? ???? ???? ?? ?????? ?????? COM.. ???? ?????? ??????? ????????? ?????? ???? ????? ??????? ?? ???? ???????? ??????? ?????????. ???? ???? ??????? ?? ???????? DLLs ?????? ??????? ????? (????? ?? ???? ???? DLL ???) ??? ?????????. ???? ??? ????? ??? ??????? ?? DLL MFC ??????? ????????? ?? ??? ????? ??????? ??????.

?????

????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
198846????? ????? ???? ??????? DLLs MFC ???????

????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
198536????? ????? ??????? MFC ?????? ?? DLL ?? EXE

???????

???? ???????: 200555 - ????? ??? ??????: 23/???? ??????/1435 - ??????: 3.1
????? ???
  • Microsoft Foundation Class Library 4.2, ????? ?????? ??:
    • Microsoft Visual C++ 5.0 Enterprise Edition
    • Microsoft Visual C++ 6.0 Enterprise Edition
    • Microsoft Visual C++ 5.0 Professional Edition
    • Microsoft Visual C++ 6.0 Professional Edition
    • Microsoft Visual C++, 32-bit Learning Edition 6.0
????? ??????: 
kbnosurvey kbarchive kbmt kbctrlcreate kbdll kbhowto kbintldev kblocalization kbpropsheet KB200555 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????200555

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

 

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