Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > From COM Server(VC++) Can we call functions in the Activex Control (OCX file).

Reply
Thread Tools

From COM Server(VC++) Can we call functions in the Activex Control (OCX file).

 
 
karspy@gmail.com
Guest
Posts: n/a
 
      03-08-2006
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

 
Reply With Quote
 
 
 
 
Ben Pope
Guest
Posts: n/a
 
      03-08-2006
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...
 
Reply With Quote
 
 
 
 
red floyd
Guest
Posts: n/a
 
      03-08-2006
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX control in python vs ActiveX control in vb 6 (piece of code) vml Python 0 08-22-2007 09:57 AM
How to call module functions inside class instance functions? beginner Python 7 08-19-2007 05:48 AM
ASP.NET 2.0 - Dynamically create ActiveX object using HtmlGenericControl and call methods / functions all from code behind qualitynice@hotmail.com ASP .Net 4 11-04-2005 04:47 PM
ActiveX apologetic Larry Seltzer... "Sun paid for malicious ActiveX code, and Firefox is bad, bad bad baad. please use ActiveX, it's secure and nice!" (ok, the last part is irony on my part) fernando.cassia@gmail.com Java 0 04-16-2005 10:05 PM
please help me in distinguish redefining functions, overloading functions and overriding functions. Xiangliang Meng C++ 1 06-21-2004 03:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57