#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    64
    Rep Power
    11

    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?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    109
    Rep Power
    11
    You must have GetObject declared somewhere else. Try ading:

    #ifdef GetObject
    #undef GetObject
    #endif

    to your header.

IMN logo majestic logo threadwatch logo seochat tools logo