.NET __attribute__((used)) equivalent?

Started by
0 comments, last by deks 19 years, 5 months ago
Hiya, Is there an equivalent in Visual Studio .NET for __attribute__((used))? I'm writing my own RTTI stuff, and visual seems to remove some of my static variables. Thanks. =[dEkS]=
Advertisement
Maybe I wasn't clear enough. I want to know if there's a way to tell VC7 compiler that a static variable should be kept and constructed, even if it thinks it's not used.

Thanks.
=[dEkS]=

This topic is closed to new replies.

Advertisement