Ralfonso
January 7th, 2009, 05:01 PM
hello,
i want convert a
System::String^
in a
const char*
so here is my little example:
#include <msclr/marshal.h>
#include <msclr\marshal_cppstd.h>
String ^laden;
//...
msclr::interop::marshal_context mc;
const char *first = ms.marshal_as<const char*>(laden);
My compiler doesn't find the two includes. And i have seared my hdd und i haven't such files. Does anybody know why i Don't have these files and where i can get them? I'm using Microsoft visual C++ 2008 Express Edition.
I would be glad for any help.
Greetings.
i want convert a
System::String^
in a
const char*
so here is my little example:
#include <msclr/marshal.h>
#include <msclr\marshal_cppstd.h>
String ^laden;
//...
msclr::interop::marshal_context mc;
const char *first = ms.marshal_as<const char*>(laden);
My compiler doesn't find the two includes. And i have seared my hdd und i haven't such files. Does anybody know why i Don't have these files and where i can get them? I'm using Microsoft visual C++ 2008 Express Edition.
I would be glad for any help.
Greetings.