VC Strategy and Orcas
VC Strategy and Orcas
VC Strategy and Orcas
next?
Steve Teixeira
Group Program Manager
Microsoft Corporation
Q: What do these have in
common? D!
E A
T D
N O
RE
Y
H E
: T
A
The Visual C++ Mission
ATYPE t = marshal_as<ATYPE>(fromtype);
Marshaling lib and interop
class Data {
gcroot<XmlDocument> xmlDoc;
public:
void Load(std::string fileName) {
XmlTextReader^ reader = gcnew XmlTextReader(
marshal_as<System::String^>(fileName));
xmlDoc = gcnew XmlDocument(reader);
}
};