Hallo Leute.
Ich brauche eure Hilfe. Und zwar, ich mache
in .h ist
sPath ist Pfad zur Tif-Datei.
m_imageView ist CStatic.
beim Kompilieren kommt ein Fehler C2512: no appropriate default constructor available
was mache ich falsch?
Ich brauche eure Hilfe. Und zwar, ich mache
Code:
Bitmap *pict = new Bitmap(sPath);
Graphics *g = new Graphics(m_imageView.GetDC()->m_hDC); <--- hier Fehler 2512
g->DrawImage(pict,1,1);
Code:
#using <System.Drawing.dll>
using namespace System::Drawing;
sPath ist Pfad zur Tif-Datei.
m_imageView ist CStatic.
beim Kompilieren kommt ein Fehler C2512: no appropriate default constructor available
was mache ich falsch?
Zuletzt bearbeitet: