0
私はa question on buffered drawingの完璧な答えを発見しましたが、何らかの理由でVS2008のバージョンにWriteableBitmap
がないようですか?WriteableBitmapを利用できません。
using namespace System::Windows::Media;
using namespace System::Windows::Media::Imaging;
をしかし、それは私だけでエラーを与える:私は、ドキュメントごとにreleventの名前空間を含む試した
d:\experiments\graphicscontrols\graphicscontrollib\GraphicsControlLibControl.h(9) : error C2039: 'Media' : is not a member of 'System::Windows'
d:\experiments\graphicscontrols\graphicscontrollib\GraphicsControlLibControl.h(10) : error C3083: 'Media': the symbol to the left of a '::' must be a type
d:\experiments\graphicscontrols\graphicscontrollib\GraphicsControlLibControl.h(10) : error C2039: 'Imaging' : is not a member of 'System::Windows'
d:\experiments\graphicscontrols\graphicscontrollib\GraphicsControlLibControl.h(52) : error C2065: 'WriteableBitmap' : undeclared identifier
は、私がインストールされている.NETまたは何かの古いバージョンを持っていますか?どのバージョンのVisual Studioが使用しているかを知る方法はありますか?私はVSをサービスパック1にアップデートしましたが、これは何の違いもありませんでした。
「WindowsBase」と「PresentationCore」の2つの参照が見つかりませんでした。 –