this code :
bug_report.cpp( 18) : error C2039: 'CPCP_ACP' : n'est pas
membre de 'operator``glob al namespace'''
bug_report.cpp( 18) : error C2065: 'CPCP_ACP' :
identificateur non déclaré
bug_report.cpp( 18) : error C3861: 'WideCharToMult iByte':
identificateur introuvable, même avec une recherche qui
dépend de l'argument
Génération de code en cours...
--- cut ---
#include "stdafx.h"
#using <mscorlib.dll >
#include <vcclr.h>
using namespace System;
void SystemToStandar d(System::Strin g * str, std::string &
out)
{
const wchar_t __pin * data = ::PtrToStringCh ars
(str);
out.resize(str->Length);
char * dest = &out[0];
WideCharToMulti Byte(::CPCP_ACP , 0, data, str-
Length, dest, out.capacity(), 0,0);
}
int _tmain()
{
return 0;
}