??? ?????. INF ?? ??? Internet Explorer ??? ?????? DLL ??????? ???? ????

???? ?????? ???? ??????
???? ID: 165075 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

??????

?? ?????? DLL ?? ??? ??? ActiveX ???????? ??????? ???? ?? ??? ?????? ???? ??? MFC ?? Visual Basic ???????? ?? ?? ???????? ??? ?? ???? ??? ??? ????? ?? ?? ?? ???? ??? ??? ?????? ??????

???? ???????

?????? DLL ?? ???????? ???? ?? ??? ??????? ??? ????? ???? ?? ??? ??? ????? ???? ???? ?? ??? DLL(s) ?? OCX ?? INF ??????? ?? ??? ???????? ?? ???. CAB ????? ??? ????? ???? ?? ??? ??? Downside ?? ?? ?? ?? DLL ??????? ??? ?????? ???????? ?? ??????? ???? ??? ???? ?? ???? ??? ?????? ??? ?? ??????? ??? CAB ?? ???? ??? ???? ??? ?????? DLL(s) ????? ?? ???????? ?? ???. INF ????? ??? ?? ?? ????? ???? ?? ??? ???? ?? ????? ??? ????? ?? ????? ?? ??? CAB ????? ??? DLL ???????? ????? CAB ????? ?? ???????? ???? ?? ??? ??? ??? ?? ??? INF ???? ???????? ??? ??? ?? ??? ?? ????? ?? ???? INF ?? EXE ????? ??? ?????? CAB ????? ?? ????????? ???? ?? ??? ??????? ?? ????????? ?? ?????? ???? ???

????? ?? ??? ??? ???????? ?? OCX (?? ?????? ??? Simpdll.dll) ?? ???, ???????? ?? ??? ??? ?? ??? ???? ??? INF ????? ?? [AddCode] ??? ??? ????? ??:
   [Add.Code]
   TestDw.ocx=TestDw.ocx
   simpdll.dll=simpdll.dll
				
DLL ?? ??????? ?? ????????? ???? ?? ??? INF ????? ?? ??? ?? ??? ??? ????? ??? ??:
   [simpdll.dll]
   FileVersion=1,0,0,1
   file-win32-x86=thiscab
				
?? ???? ????? ?? ??????? ???? ??? ??? DLL ???????? ?? ????? ???? ?? ??? ????? ??? ???

CAB ?? ???? ??? ???? ??? DLL ?? ????? ???? ?????? ?? ?? ??? ?? "thiscab" ?? ????? ?? ????? ?? ??? URL ?? ??? ?? ?????? CAB ????? ????:
file-Win32-x86=http://www.contoso.com/controls/dependent.cab
?? ?????? ???, Simpdll.cab ???? simpdll.dll ????

??? ?????? ?? ?? ?????? DLL ?? ??? INF ?? CAB ??????? ?? ???? ?? ???? ???

?? ??? ?? ????? ???? ?????? DLL CAB ????? ?? ?????? ???? ?? ??? ?????? DLL ????? ?? ????? ????? ??? ?? ????? ?? ??? ?????? CAB ??? ?? INF ?? EXE ????? ??????? ?? ????????? ?? ???? ????

???. inf ????? ?? ????? ??? MFC ???????? ?? ??? ?????? DLL ??????? ?? ????????? ???? ??:
   [Add.Code]
   ...
   msvcrt.dll=msvcrt.dll
   mfc42.dll=mfc42.dll
   olepro32.dll=olepro32.dll

   [msvcrt.dll]
   FileVersion=4,20,0,6164
   hook=mfc42installer

   ...

   [mfc42installer]
   file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cab
   run=%EXTRACT_DIR%\mfc42.exe
				
?? ?????? ???, ?? self-extracting. exe ????? ???, cab ????? (mfc42.cab) ??? ????? ?? ?? MFC DLL packaged ???? ???????, self-extracting. exe ??????? ????? ?? ??? ????? ??????? ??? Microsoft ?? ?????? ???? ???? ?????, ?? ?? ?? ???? ?? ???????? ????. inf ????? ???? ?? ??? ?????? DLL ????? ?? ??????? ??? ???. inf ????? ?? ??????:
   [yourinstaller]
   file-win32-x86=http://example.microsoft.com/simpdll.cab
   InfFile=your.inf
				
??, ?? ???? self EXE ????? ???? ????? ?? ????? ?? ???? ?? ?????? ?? ??? ?? ????? ?? ???????? ?????

Illustrate, ?? ??? ????? ??. inf ????? ?????? MFC DLL ?? ??????? ???? ?? ??? ????? ???? ???? ??? ?? ?? MFC DLL ??????? ??? ??? ??? ???? DLL ?? ??????? ???? ?? ??? ??????? ?? ???? ????
   ; ========================= Mfc42.inf =========================

   ; This file will control the download of the MFC 4.2 DLLs

   [version]
   ; version signature (same for both NT and Win95) do not remove
   signature="$CHICAGO$"
   AdvancedINF=2.0

   [SourceDisksNames]
   ; This section specifies that all sources are in the "default"
   ; location.
   1="default",,1

   [DefaultInstall]
   ; Default section to process and copy all files under the section
   ; mfcdllsx.files and Register DLLs under the section mfcdllsx.register.
   CopyFiles=mfcdllsx.files
   RegisterOCXs=mfcdllsx.register

   [DestinationDirs]
   ; Destination Directories for CopyFiles Sections.
   ; 11 indicates LDID_SYS - system directory
   mfcdllsx.files=11

   [mfcdllsx.files]
   ; ,,,32 - Suppress version conflict dialog and don't overwrite newer
   ; DLLs
   msvcrt.dll,,,32
   mfc42.dll,,,32
   olepro32.dll,,,32

   [mfcdllsx.register]
   ; msvcrt.dll is not self registering
   %11%\mfc42.dll
   %11%\olepro32.dll

   ; ====================== Mfc42.inf ======================
				
.Register ??? ??? ???????? ???? ?? ???? ??? ?? ??? DllRegisterServer ?????? ??????? ???? ??, ?? ???? ?? ??? ??? DLL ?? ???????? ??? ?? ????? C ??????? Dumpbin.exe ?????? ?? ??? DLL ?? ??????? ?? ??? ?? ?????? ????????? ???? ?? ???? ??? DLL, DLL ?? ??????? ???? ?? ?????? ???? ?? ??? ?? ?? Regsvr32 ?? ?? ??? ???? ???? Regsvr32 DLL ?? ??? ???? ??, ?? DllRegisterServer ?? ??? ?????? ?? ??????? GetProcAddress() ?? DLLRegisterServer ?????? ?? ??? ?? ?? ??????? ???? ??? ?? succeeds, ?????? DllRegisterServer ??????? ???? ???? ?? ?? ???? ??? ??? ???? ???

Beware, ???????, ?? DLL ?? Regsvr32 ?? ??? ?? undesirable ?? ??????? ?? DllRegisterServer ??? ???? ??, ??? ??????? ????????? ???????????? ?? ?? ???? ?? DLL ?? ????? ?? ????? ???? ??? ?????? ?? ???, ????? ??? ?? MS-DOS ????? ???? ????, ??????? ?? ????????, ?? ??? ?? ???? ??? ????????:
   copy mfc42.dll C:\Test
   run "D:\msdev\bin\REGSVR32.EXE C:\Test\mfc42.dll"
   delete mfc42.dll
				
???? ??? ?????? Mfc42.dll, ????? ???? ?? ?????? ???? ?? ????????? ??? ????? ??, ?? ???? C:\Test\Mfc42.dll ??? ?? ???? ??, ?? ???? ???? ?? ??? ????? ???? ????? ??? ???? ???? ?? ???? ?? ?? ??????? ?? ?? ???? ????? ?? Regsvr32 ?? ??? ?? ???????? ???? ???? ???

??? ??? ?? ?? self EXE ?????? ?? ??? ?? ?? DLL ??????? ???? ?????? ?? ????? ???? ??: ??? ??? DLL ?? ???????? ???? ????? ?? ?????? ??? ???? ?? ??? ??, ??????? ???? ?? ?????? ?? ?? ????? ?????? ??, ?? Internet Explorer 4.0 ??????? ??? ??? ???? ??? ??? Internet Explorer 4.0 ?? ????? ?????? ???? ?? ????? ?? ????? ?? DLL ??? ?????

??????

???????? ??????? ?? ???, ????? ????? ?????? ?? Microsoft ???????? ??? ?????:
167158????? MFC ???????? ?? ????? ???? ?? ??? ??????? ???? ???? ????
167597??? ??????? ???? ?? ??? FileVersion ?? #Version ????????? ????

???? ??????? ?? ???, ????? Webcast ?????:
???? ??? ??????? ??? ??????? ????

???

???? ID: 165075 - ????? ???????: 28 ??????? 2011 - ??????: 6.0
???? ???? ???? ??:
  • Windows Internet Explorer 8
  • Windows Internet Explorer 8 on Windows Server
??????: 
kbcode kbdownload kbfaq kbhowto kbmt KB165075 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:165075

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

 

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