G
gnassar
I've been trying to learn dotnet myself though a bit of a basterdized
know-how of dotnet 2003 and previous straight unix C++ programming.
For some reason I have been able to get most of the mechanics down
quickly but there's something that's been eluding me.
I'm used to:
XmlDocument *xmld1p;
xmld1p = 0;
if (xmldp == 0){
....
}
This is all find and good (assuming I didn't make any minor spelling
mistakes here) in versions of VS prior to 2005. I understand that the
new operator is ^ for managed resources but can I make a pointer of an
object anymore?
I know I need to do:
XmlDocument^ J = new XmlDocument();
Thats fine. but can I make a pointer to a managed resource anymore or
no?
So I guess can I do:
(XmlDocument^) *J;
J = 0;
(That brings errors)
How would I do that?
know-how of dotnet 2003 and previous straight unix C++ programming.
For some reason I have been able to get most of the mechanics down
quickly but there's something that's been eluding me.
I'm used to:
XmlDocument *xmld1p;
xmld1p = 0;
if (xmldp == 0){
....
}
This is all find and good (assuming I didn't make any minor spelling
mistakes here) in versions of VS prior to 2005. I understand that the
new operator is ^ for managed resources but can I make a pointer of an
object anymore?
I know I need to do:
XmlDocument^ J = new XmlDocument();
Thats fine. but can I make a pointer to a managed resource anymore or
no?
So I guess can I do:
(XmlDocument^) *J;
J = 0;
(That brings errors)
How would I do that?