DEVELOP > c-Plus-Plus > From COM Server(VC++) Can we call functions in the Activex Control (OCX file).
| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"" |
| Date: |
08 Mar 2006 05:15:09 AM |
| Object: |
From COM Server(VC++) Can we call functions in the Activex Control (OCX file). |
In my COM Server i have added Dialog Box. i have registered OCX file
and added that Activex Control to my Project also. It has created 1
header file and 1 source file.
After that i have created an instance(object) of that ActiveX control
and trying to call functions, But its giving run time error.
Debug Assertion Filed!
File: winocc.cpp
Line: 345
Please help me
.
|
|
| User: "red floyd" |
|
| Title: Re: From COM Server(VC++) Can we call functions in the Activex Control(OCX file). |
08 Mar 2006 11:23:24 AM |
|
|
wrote:
In my COM Server i have added Dialog Box. i have registered OCX file
and added that Activex Control to my Project also. It has created 1
header file and 1 source file.
After that i have created an instance(object) of that ActiveX control
and trying to call functions, But its giving run time error.
Debug Assertion Filed!
File: winocc.cpp
Line: 345
Please help me
ActiveX, COM and Dialog Boxes are OT here. Please ask in a MS specific
newsgroup.
.
|
|
|
|
| User: "Ben Pope" |
|
| Title: Re: From COM Server(VC++) Can we call functions in the Activex Control(OCX file). |
08 Mar 2006 11:13:48 AM |
|
|
wrote:
In my COM Server i have added Dialog Box. i have registered OCX file
and added that Activex Control to my Project also. It has created 1
header file and 1 source file.
After that i have created an instance(object) of that ActiveX control
and trying to call functions, But its giving run time error.
Debug Assertion Filed!
File: winocc.cpp
Line: 345
Please help me
How are we supposed to help you?
You're in the wrong group and you're not posting enough code.
The problem is in the code you wrote. Somewhere.
Ben Pope
--
I'm not just a number. To many, I'm known as a string...
.
|
|
|
|

|
Related Articles |
|
|