473,385 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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
Jul 19 '05 #1
1 4077
"Nils" <Ni*******@Software.plc.uk> wrote...
Please could someone tell me where I am going wrong....


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.

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andreas | last post by:
Hi, I have an application that reads some data from an Excel file and uses the Excel ActiveX object to do this. I have written a function that opens the document and reads a value out. This...
15
by: Bryan | last post by:
I have a multi-threaded C# console application that uses WMI (System.Management namespace) to make RPC calls to several servers (600+ ) and returns ScheduledJobs. The section of my code that...
1
by: Wm. Scott Miller | last post by:
I have a Custom DTS Task for SQL Server and I've got it working fine, except for when I try to access its properties from an ActiveX script. I have added a new property called Length and a method...
3
by: Paul Bromley | last post by:
I am using an ActiveX control in a VB.NET application as there is no alternate .Net control available to me. The problem is that when I try to install this appliaction on another machine the DLL is...
3
by: Ron | last post by:
Hello, I need project2 to communicate with project1. I usd to do this in VB6 where Project1 was an ActiveX app and Project2 was a regular exe. Project1 runs 24/7. Project1 invokes project2...
1
by: Kevin Frey | last post by:
We have an ActiveX control that we added as a reference to a *Console* C# testbed. The testbed functions, except that: a. On VS 2003, performance is fine, but on VS 2005, performance is reduced...
1
by: vishwanath.yr | last post by:
Hi all, I'm using visual web developer to develop my asp.net applications. The requirement is to call an executable file from one of the aspx pages on the click event of a button. The good news...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
9
by: sakthikumarb | last post by:
Hello All, I am having vb 6.0 ActiveX dll contains one method Public Function GetHandleCount() As String Set objRefresher = CreateObject("WbemScripting.SWbemRefresher") Set objServicesCimv2 =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.