🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2148

Calling a ActiveX function from a console application

#2148
From: Nils
Date: Sun, 26 Oct 2003 17:13
19 lines
1935 bytes
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
Technical Details
Message-ID: <cdb31147.0310260913.670c875a@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9701,684751479369e3bb,start
X-Google-Attributes: gidf9701,public
X-Google-Thread: 105ce5,684751479369e3bb,start
X-Google-Attributes: gid105ce5,public
X-Google-Thread: 11100c,684751479369e3bb,start
X-Google-Attributes: gid11100c,public
X-Google-Thread: 109fba,684751479369e3bb,start
X-Google-Attributes: gid109fba,public
X-Google-Thread: 113dfb,684751479369e3bb,start
X-Google-Attributes: gid113dfb,public
X-Google-ArrivalTime: 2003-10-26 09:13:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: Nils.King@Software.plc.uk (Nils)
Newsgroups: comp.os.ms-windows.programmer.win32,comp.lang.c++,borland.public.cppbuilder.activex,comp.os.ms-windows.programmer.tools.misc,microsoft.public.vc.activex.templatelib
Subject: Calling a ActiveX function from a console application
Date: 26 Oct 2003 09:13:03 -0800
Organization: http://groups.google.com
Lines: 19
Message-ID: <cdb31147.0310260913.670c875a@posting.google.com>
NNTP-Posting-Host: 62.253.96.42
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067188383 17513 127.0.0.1 (26 Oct 2003 17:13:03 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 26 Oct 2003 17:13:03 +0000 (UTC)