??? ????? ??? C++

?????? ????????? ?????? ?????????
???? ???????: 126845 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

????? compilers C++ Microsoft ????? ?????? ?? ????? C++ ?????? ??????? ????? ?? ?????. ???? ??? "??? ?????" ?? "??? mangling." ????? ?? ??? ?????? ?? ??? ??? - ?????. ??? C++ ???? ?????? ?????? ??? ????? ???? ????? ??? ??? ????? ?? ????? ????? ?????? ????? ?????? ??????? ??????. ????? ????? ??? linker ??????? ??? ????????? ???????? ?? ??????? overloaded ???? ??? ????? ????? ??????? ?? ????? ???? ?????.

??????? ????

???? ????? ??????? ?????? ???????? ?? ????????? ?? decorating ??????? ?????? ???. ?? Microsoft ??? ???????? ????????? ????? ?? compilers ????? ??? ???? ?? ????? ?? ????????. ??? ???? ??? ??????? ?? ??? ??????? ?????? ??? ??????? ?????? ??? ??????. ??? ???? ??????? ?? ????? ??? ????? ???? C++ ?? DLL Windows ???? ??? ?? ?????? ????? ??? .DEF ???????? ?????? DLL. (??? ????? ?? ?? ??????? ?????? ?? __declspec (dllexport) ?? ??????? ??????? ?????? ???? C++ ???????? Visual C++ ? 32-bit Edition ???? ?? ???? ????? ???????? ??? .DEF ??? ????????.) ?????? ?????? ????? ????? ??? ????? ???? ?????? ???? ??? ?? ????????? ???????? ??????.

??????? ????? ???????? ???????? ????? ???? Microsoft Toolkits ???????? ????????. ???? ??? toolkits ????? ??????? ???? ???? ????? ?????.

????? ?? ????????? ??? __declspec(dllexport) ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
132044???????? _declspec(dllimport) _declspec(dllexport) ?? ????????? ????????
?????? ????? ????????? ???????? ?????? ?????? FormatDName ?? ????? ???????? ??? ?? "?????? ????? ????????". ?????? "????? ????????" ?? ?????? ???? Microsoft ?????? ??? ?????:
http://www.microsoft.com/downloads/details.aspx?FamilyID=621ae185-1c2a-4d6b-8146-183d66fe709d&displaylang=en
???? ?????? ?????? ??????? undecorated ??? ??????? ?????.

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

   /* Compile options needed: cl /AL getname.cpp bthunkl.obj /link bsc.lib
          (for 16-bit, where getname.cpp is the source file name)
                              cl getname.cpp /link bsc.lib
          (for 32-bit version 4.x and earlier, where getname.cpp is the source
           file name)
   */ 

   #include <iostream.h>
   #include <strstrea.h>

   extern "C"
   {
   #include "hungary.h"
   #include "bsc.h"
   #include "bscsup.h"
   }

   void main( int argc, char *argv[] )
   {
       if ( argc < 2 )
       {
           cout << "Usage: GETNAME decorated-name" << endl;
           return;
       }

       strstream name;

       // Call browser library function to get undecorated name
       name << FormatDname ( argv[1] ) << '\0';

       cout << "Undecorated name: " << name.str() << endl;
       name.rdbuf()->freeze( 0 );
   }
				
???? ?????? ?????? ?? 5.0 ????? ???????? ? Visual C++ ????? 5.0.
   /* Compile options needed: cl /GX getname.cpp /link msbsc50.lib
          (where getname.cpp is the source file name)
   */ 

   #include <iostream>
   #include <strstream>
   #include <windows.h>
   #include "bsc.h"

   using namespace std;

   int main( int argc, char *argv[] )
   {
       Bsc* pbsc;

       if ( argc < 3 )
       {
           cout << "Usage: GETNAME bscfile-name decorated-name" << endl;
           return 1;
       }

       strstream name;

       // Open the browser file
       Bsc::open( argv[1], &pbsc );

       // Call browser library function to get undecorated name
       name << pbsc->formatDname( argv[2] ) << '\0';

       cout << "Undecorated name: " << name.str() << endl;
       name.rdbuf()->freeze( 0 );

       pbsc->close();
       return 0;
   }
				

???????

???? ???????: 126845 - ????? ??? ??????: 27/???/1426 - ??????: 4.0
????? ???
  • Microsoft Visual C++ 1.5 Professional Edition
  • Microsoft Visual C++ 1.51
  • Microsoft Visual C++ 1.52 Professional Edition
  • Microsoft Visual C++ 2.0 Professional Edition
  • Microsoft Visual C++ 2.1
  • Microsoft Visual C++ 4.0 Standard Edition
  • Microsoft Visual C++ 4.1 Subscription
  • 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
????? ??????: 
kbmt kbcode kbcompiler kbcpponly kbinfo KB126845 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????126845

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

 

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