priyank9
December 7th, 2006, 06:15 AM
Hi, Actually I want to use managed class XmlDocument in my unmanaged class. I got error “error C3265: cannot declare a managed 'myDoc' in an unmanaged 'myClass'”. So I used gcroot to use this managed class in my unmanaged call gcroot<XmlDocument*> myDoc; But now I am getting error “error C2143: syntax error : missing ';' before '<'” and “error C2501: 'myClass::gcroot' : missing storage-class or type specifiers”. Can I know What is the problem with this?
Thanks in advance,
Priyank using
Thanks in advance,
Priyank using