Compiler error from setting icon

  • Thread starter Thread starter TGF
  • Start date Start date
T

TGF

Hello,

When I attempt to set the icon property on a Windows form (.NET), when I
go to compile, I get the following error....

e:\Projects\MyApp\AboutForm.h(108): error C2039: 'GetObjectA' : is not a
member of 'System::Resources::ResourceManager'

....Does anyone know why this happens, and the way to correct it....I looked
up the function member "GetObject", and it is a valid member function. Note
that this error occurs in the InitializeComponent() function where the VS
code generator says not to edit it. So what gives?
 
...Does anyone know why this happens, and the way to correct it....I
looked
up the function member "GetObject", and it is a valid member function. Note
that this error occurs in the InitializeComponent() function where the VS
code generator says not to edit it. So what gives?

although VS says to not to touch the code, it is sometimes inevitable to do
so.
regards, W.Z.
 
Back
Top