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
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