My problem is: I need to make activex control, which uses another activex control (I need to use VRML plugin into my activex). And when I create plugin control in my activex, it raises exception: Access violation. The problem code look like:
MyAxCtrl::OnCreate(...)
{
CRect rect;
GetClientRect(&Rect);
vrml->CreateControl(NULL, VS_VISIBLE, rect, this, 1);
//this initialization causes exception
}
I tried to add another activex control, but it failed again.
MyAxCtrl::OnCreate(...)
{
CRect rect;
GetClientRect(&Rect);
vrml->CreateControl(NULL, VS_VISIBLE, rect, this, 1);
//this initialization causes exception
}
I tried to add another activex control, but it failed again.