Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetObjectA error

Status
Not open for further replies.

d0s

Programmer
Apr 15, 2004
48
US
Hey, im creating a small program and for some reason whenever i include windows.h and change the icon usin VC++.NET options to change the icon of the program i get this error:
Form1.h(135): error C2039: 'GetObjectA' : is not a member of 'System::Resources::ResourceManager'

and thats generated code from the compiler. Anyone ever come across this problem? because i can include windows.h from the start and it doesn't run any errors, but as soon as i change the icon it gives me that error even if i change the icon back to what it normally was. Now if i take windows.h out then it compiles fine. So any ideas here? thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top