Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,

I created an activex control project use MFC. When I added one another activex control into my activex project, it didn't work.
code:
C++
CHoops3dstream m_hoopsCtrl;//CHoops3dstream is embedded control
CRect rect;
rect.SetRectEmpty ();
m_hoopsCtrl.Create(_T("hoops3dstream"), WS_CHILD | WS_VISIBLE, rect, this, IDS_HOOPS3DSTREAM);

Please tell me that error.
Thanks!
Posted
Updated 22-Apr-11 17:58pm
v2
Comments
Sandeep Mewara 22-Apr-11 23:59pm    
You forgot to add what error you got. Just saying 'it didn't work' would not help much. Please add the error details that you get.
mamuthamad1 24-Apr-11 20:37pm    
thanks Sandeep. this code didn't have error,but when i tested my activex project on localhost used IE browser,it didn't run and IE was closed.May be CHoop3dsstream control can't embed b/c when i changed CHoops3dstream control by Navisworks control, it worked normal

Just answering it to take it out of unanswered stack.

OP found the resolution and has posted as comment: when i tested my activex project on localhost used IE browser,it didn't run and IE was closed.May be CHoop3dsstream control can't embed b/c when i changed CHoops3dstream control by Navisworks control, it worked normal
 
Share this answer
 
I have the same problem, you solve now
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900