Compile error after setting icon property

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TGF

    #1

    Compile error after setting icon property

    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\MyA pp\AboutForm.h( 108): error C2039: 'GetObjectA' : is not a
    member of 'System::Resour ces::ResourceMa nager'

    ....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 InitializeCompo nent() function where the VS
    code generator says not to edit it. So what gives!

    --
    TGF


Working...