???? ID: 241396 - ????? ???????: 02 ?????? 2010 - ??????: 2.0

????? ?? ????? C++ ??? ??????-???-????????? ???????? FileTool.exe ????? ??

?????? ??????This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

?? ????? ??

??? ?? ??????? ???? | ??? ?? ??????? ????

??????

?????????? ?????????? ????? ???????? ??????? ????? ?? ????? ?? Visual C++ ?? ?????????? ??? ????? ?????? ??????:
????? ??????? (0xC0000005) ?? 0x5003eaed DEVSHL.DLL ????
DevShl.Dll 0x0000000 ?? ?????? ???????? ??? ?????? ???? ???? ?? ???..
?? ?? ?????? ?? ??? ?? ?? ?? ?? ??? ????????????? ??? ???????????????????? ?? ????? ???????????.

FileTool.exe ?? ?? ????? ?? ?? ????? ???????, ??????????? ??? ?????????? C++ ?????? Studio ???????? ?? ????? ?? ??? ???? ???? ?????

The Developer Studio Object Model contains methods that both open files and add files to a project. TheBuildProjectobject contains anAddFilemethod that adds files to a project. TheDocumentsobject contains an?????method that can open files into Developer Studio. These can be used in either a macro or Add-In.

???? ???????

????? ????? Microsoft ??????? ?????? ?? ??????? ?? ??? ?????? ??::
FileTool.exe (http://download.microsoft.com/download/vc60ent/s1/6.0/w9xnt4/en-us/FileTool.exe)


The self-extracting FileTool.exe file contains the following files:

?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
Commands.cpp5KB
Commands.h1KB
DSAddIn.cpp5KB
DSAddIn.h2KB
FileTool.cpp5K
FileTool.def1KB
FileTool.dsp5KB
FileTool.dsw1KB
FileTool.h1KB
FileTool.odl2KB
FileTool.rc5KB
FileTool_i.c2KB
FileToolTypes.h7KB
Resource.h1KB
StdAfx.cpp1KB
StdAfx.h3KB
FileTool.rc21KB
TBarLrge.bmp2KB
TBarMedm.bmp1KB

Microsoft ?????? ??????? ?? ???? ??????? ???? ?? ???? ??? ???? ????? ?? ???, ????? ???? ?????? ?? ????? ?? ???? ?? Microsoft ???????? ??? ?????::
119591  (http://support.microsoft.com/kb/119591/EN-US/ ) ?????? ?????? ?? Microsoft ?????? ??????? ???? ??????? ????
Microsoft ????? ?? ??? ?? ????? ?? ????? ?? ??? Microsoft ?? ?? ?????? ?? ?????? ???? ??????? ?????-??? ?????????? ?? ????? ???? ?? ????? ????? ?? ?? ??.. ????? ?? ?? ???????-??????????? ????? ?? ???????? ???? ??? ?? ?? ????? ??? ???? ?? ??????? ???????? ?? ????? ??? ??? ???? ??..

Installing the Add-In

  1. Run FileTool.Exe to extract the Visual C++ 6.0 project.
  2. Build the project in Visual C++ inRelease??,???? ????configuration.
  3. In Visual C++, click???????? ??????????????? ??..
  4. ????????????? ????????? ????? ???, ????? ????Add-Ins and Macro Files??? ?? ????? ????..
  5. ????? ???????????button and locate the FileTool.dll file that was built in step 2.
  6. ????? ????,OKto save the settings.
A toolbar for the two commands appears.

???::Only the?????command works in Visual C++ 5.0. TheAddFilemethod was added with the Visual Studio 6.0 release.

Removing Shortcut Keys

??-?? ??? ??, ?? ??? ?? ?? ????? C++ ??? ???? ?? ????? ????? ????? ?? ?????? ?? ?? ??-?? ????????? ?? ??? ????? ???? ???? ???? ?? ??? ??????? ???????? ????? ???? ???:
  1. ????? C++ ??????????? ??,???????? ????.
  2. ????????????? ????????? ????? ???, ????? ??????????????? ?? ????? ????..
  3. ??????????? ?? ??? ????????.
  4. ???? ????? ??? ?? ??? ????FileOpen.
  5. ???????????? ????????????? ?? ???, CTRL + O ????????? ?? ??? ???? ?? ???? ??? ????? ?????????.
  6. ??????????? ?? ??? ?????????????.
  7. ???? ????? ??? ?? ??? ????InsertFilesIntoProject. ??? ???? ??????? ?? ?????? ??, ?? ??? ??????? ?? ??? 5 ??? ?? ???? ????? ???????? ??? ?? ??? ?? ???? ?? ??? ??????? ????? ???? ???
  8. ??????????? ?? ??? ??????-??.
  9. ?? ??-?? ????AddFileToProject, ??OpenFile???? ????? ??? ????? ???? ????
  10. ??? ????OpenFile?? ????? ?? ?????? ??????? ????? ?????????? ???, ????? ?????? ?? ?? ?? ????? ???, ?? ????? ???? ?? ??????? ????? ?????????? ????.
  11. ???? ???? ?? ??? ??? ??? ?? ???????? ??????? ???????? ??? ?? ???? ?? ??? ????? ??? ?? ??????? ???????? ????? ??????
???? ???? ???? ?? ??????? ?? ???????? ???? ?? ??? ????? ?? ?? ???? ??AddIn???? ??? ???? ????? ?? ??? ??? ???????? ???? ?? ???AddInMenuBar ??? ???? ?? ????? ????? ????? ?? ???? ????:
  1. ????? C++ ??????????? ??,???????? ????.
  2. ????? ???????????? ?? ?? ?????????????? ?? command????????? ?? ??? ???????
  3. ????? ????????????????? ??,????????? ??? ??????? ?? ?????????????????? ?? ??? ?? ????, ?? ??? ???????
  4. ????????????? ????????? ????? ???, ?? ??? ??????????? ?? ????? ????..
  5. ??? ??????-?????????????? ????? ????
  6. ??????OpenFilecommand ???? ?? ??????????? ?? ????? ??? ??? ?????? vacated ???????????????
  7. ??????AddFileToProjectcommand ???? ?? ???????????? ??? ??????? ????????????????? ?? ????? ??? ??? ?????? vacated ?????????????????
???? ?? ??? ?? ??? ??? ??????? ???? ??? ??, ?? ?? ?????? ???? ?? ??AddIn????? ????? ??????

??????

??? ????? ???? ?????MSDN ????????? (http://msdn.microsoft.com/library) ????? C++ ?? ???????? ?? ??? ????? C++ 6.0 ?? ??? ??????? ?? ????? C++ IDE ??? ??????? ???????? ?????? ????:
MSDN ????????? Visual Studio ?????????; ????? C++ ?????????; ????? C++ ?? ????? ????; ????? C++ ?????????? ????????????; ??????? ????? ????? C++ ???

MSDN ????????? Visual Studio ?????????; ????? C++ ?????????; ????? C++ ????? C++ ?????????? ????????????; ????? C++ ???????; ???????? ???? Visual C++; ?? ????? ???? ???? ???... ????: ????? C++ ???????? ????; ???????? ??????? ???????? ????

MSDN ????????? Visual Studio ?????????; ????? C++ ?????????; ????? C++ ????? C++ ?????????? ????????????; ????? C++ ???????; ???????? ???? Visual C++; ?? ????? ???? ???? ???... ????: ????? C++ ???????? ????; ????? ???????? ?? ???? ???????? ????

???? ???? ???? ??:
  • Microsoft Visual C++ 5.0 Enterprise Edition
  • Microsoft Visual C++ 5.0 Professional Edition
??????: 
kbdownload kbfile kbsample kbmt KB241396 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:241396  (http://support.microsoft.com/kb/241396/en-us/ )