Hi Iwanow,
"Iwanow" <kp****@wp.plwr ote in message
news:11******** **************@ i3g2000cwc.goog legroups.com...
Hello!
I have a single class without any inheritance over there, and I get
that error on its constructor which is an empty function:
LabelProcessor: :LabelProcessor () {
}
The full error message is as follows:
.\LabelProcesso r.cpp(5) : error C3767:
'System::Drawin g::Bitmap::Bitm ap': candidate function(s) not accessible
How do I get rid of such an error? Thank you in advance for any hints.
I guess you have a class member of type Bitmap which has no public default
constructor so your LabelProcessor constructor cannot create the Bitmap
instance. Either make that member a pointer which you initialize with gcnew
or initialize it in the constructor list like so#
LabelProcessor: :LabelProcessor () :
_yourBitmapVari able(bitmapCons tructorParamete rs)
{
}
--
SvenC
--
Iwanow