managed C++ & NULL value

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

how do I set a managed reference to NULL ?
I want to initialize my reference to NULL like

String^ aStr = NULL;

But I can't, it says either (depending on which header I include):
- NULL not defined
- can't cast an int to a String^
 
Back
Top