473,396 Members | 1,683 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,396 software developers and data experts.

Building an ATL ActiveX Sink

Please help guys,

I need to build an ATL activeX sink to receieve events from a COM
source object.

I have included the .h and the _i.c file from the source object in my
ATL activeX sink.

The sink implements the IDispEventSimpleImpl.

I have built the sink map, SINK_ENTRY_INFO, category map, advise and
unadvise, _ATL_FUNC_INFO and all.

I keep getting the error that my dispinterface is invalid....

I really don't know which files I need to include from the source COM
object....

Please help anyone

Jul 23 '05 #1
1 2016
Chinedu wrote:
Please help guys,

I need to build an ATL activeX sink to receieve events from a COM
source object.

I have included the .h and the _i.c file from the source object in my
ATL activeX sink.

The sink implements the IDispEventSimpleImpl.

I have built the sink map, SINK_ENTRY_INFO, category map, advise and
unadvise, _ATL_FUNC_INFO and all.

I keep getting the error that my dispinterface is invalid....

I really don't know which files I need to include from the source COM
object....

Please help anyone


Your best source of information will come from
a platform specific newsgroup. This newsgroup,
news:comp.lang.c++, only discusses the C++ language
and not platform specific issues such as ATL, Active X,
and COM objects.

Seek out some microsoft.* newsgroups.

--
Thomas Matthews
Jul 23 '05 #2

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

Similar topics

0
by: Paul H. Milenkovic | last post by:
I think the problem is with ActiveX controls developed in Delphi -- I am having the same CONNECT_E_CANNOTCONNECT error message at that same point when I try to use ActiveX control I have developed in...
4
by: Marcin Vorbrodt | last post by:
A source function is a one that returns an auto_ptr object. A sink function is one that takes auto_ptr as a parameter. So: void Source(auto_ptr<SomeClass> aptr); This will transfer the...
1
by: Robert Hanson | last post by:
Hello All, I am in the process of building an ActiveX control in VC++.NET using a MFC Control Project derived from a Tab Control. Since this is my first time building such a control, would it...
0
by: techie | last post by:
I have created an event sink in my ATL COM project. The event sink receives events from a C# component. There is no problem with receving events but when my COM object is released I get an access...
1
by: otto | last post by:
Hi, all: My question is as follows. I have one ASP.NET application that comunicates with a remote object hosted under IIS throught .NET Remoting. I have to use custom sink in order to add extra...
5
by: Dan | last post by:
I am using ado and the record set ocx. I want to be able to receive RecordsetChangeComplete events. I am running client side scripts and want notification if someone else edits the data. The...
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...
0
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I have a very odd problem which I hope someone can help me with. I have written a very simple test program using remoting as an excercise in using a custom sink - just a simple server with a single...
5
by: =?Utf-8?B?Q29kZVJhem9y?= | last post by:
I have an event sink which does some work to the software we use, according to the data contained within an email. This is all working hunky dory. What i want to know is whether it is possible to...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.