Helpful Information
 
 
Category: .Net Development
Use external Icon in VC++ .net

I used the properties window to loaded an external Icon into my Form1). But as I compiled it I got this error:

C2039: 'GetObjectA': is not a member of 'System::Resources::ResourceManager'

What must I do to use an external icon as the icon of my main form?

You must have GetObject declared somewhere else. Try ading:

#ifdef GetObject
#undef GetObject
#endif

to your header.










privacy (GDPR)