Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with adding Activex into Activex

Status
Not open for further replies.

vanto

Programmer
Mar 24, 2004
1
SK
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top