Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 08:40 PM
Nils
Guest
 
Posts: n/a
Default Calling a ActiveX function from a console application

Hi,


Please could someone tell me where I am going wrong....

I have a simple ActiveX object (MFC and have tried a ATL version) that
has a simple public function that I wish to call from a console
application (as a test and then from a .NET web page later on).

When I add the COM object as a reference to the project the object
browser does not show my function and obviously won't let me use it in
the code, why is this?! - the ActiveX dll is compile and registered (I
think, do you have to 'register' functions in a special way).

Please someone put me out of my stupidity/missery.

Many thanks,

-Nils
  #2  
Old July 19th, 2005, 08:40 PM
Victor Bazarov
Guest
 
Posts: n/a
Default Re: Calling a ActiveX function from a console application

"Nils" <Nils.King@Software.plc.uk> wrote...[color=blue]
> Please could someone tell me where I am going wrong....[/color]

You're cross-posting into too many newsgroups. Curb your
enthusiasm. Your question has nothing to do with C++
language (which incidentally does not define anything in
the area of "MFC", "COM", "ActiveX", and other Microsoft-
specific abbreviations) and as such is off-topic in
comp.lang.c++. Thank you.



 

Bookmarks

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles