G
Guest
Hello everyone
In a windows forms that i have compiled and includes code like this :
this->Icon = (__try_cast<System:rawing::Icon * >(resources->GetObject(S"$this.Icon")));
i get an error like this:
error C2039: 'GetObjectA' : is not a member of 'System::Resources::ResourceManager'
the only thing i added to the code is to include to the main form header those includes :
#include <windows.h>
#include <wininet.h>
#include <shlobj.h>
#include <atlbase.h>
#include "AboutBox.h"
#include "OptionsBox.h"
Any suggestions ?
Thanks
In a windows forms that i have compiled and includes code like this :
this->Icon = (__try_cast<System:rawing::Icon * >(resources->GetObject(S"$this.Icon")));
i get an error like this:
error C2039: 'GetObjectA' : is not a member of 'System::Resources::ResourceManager'
the only thing i added to the code is to include to the main form header those includes :
#include <windows.h>
#include <wininet.h>
#include <shlobj.h>
#include <atlbase.h>
#include "AboutBox.h"
#include "OptionsBox.h"
Any suggestions ?
Thanks