1. Use _gc in your class definitions.
2. Make sure /CLR is in your project settings.
HTH,
ahoodin
Best to use VC 7.0, and that will also deploy your common language runtime.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |