Search Members Help

» Welcome Guest
[ Log In :: Register ]

 

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: ATL COM Interface Inheretance< Next Oldest | Next Newest >
 Post Number: 1
askheaves Search for posts by this member.
Ack!!!
Avatar



Group: Members
Posts: 1955
Joined: Sep. 2000
PostIcon Posted on: Mar. 27 2001,04:52  Skip to the next post in this topic. Ignore posts   QUOTE

OK, yeah. Don't expect a lot of responses on this one, but I've been beating my head for 2 days on it. Here goes.

I'm using ATL to build COM objects that perform various tasks. They all have to derive off of one common interface (IRSService) so that they can be mixed and matched through versions with no surprises or rewrites to the main controlling objects. So far (since I'm still in an Analysis phase), it has about 5 methods and one property (with a Get and Set and an [in] parameter each).

I'm playing with my first component, and going nuts trying to get it to implement that IRSService interface. I've built a project around one .idl file that constructs the IRSService interface, but does no implementation... since it's abstract, and all. Now, I want to snag that interface and have it be the only way into this new component. BTW, using C++ under Vis Studio 7 w/ SP4.

So, the questions I have are as follows:

Do I need to even make an independant interface (no methods) for each component? And then add the IRSService interface later?

Is there some bug that doesn't allow Property methods to be added? Because, that's where my errors are right now.

Basically, what the hell am I supposed to do? I'm just closing my eyes and punching keys right now hoping for the best. It's been almost 3 years since I've done this, and I'm friggin lost.

Off the subject, does anybody else experience the bug where 90\% of the time, after creating a simple object, adding the first method to the interface doesn't show up in the class, but any after that will? So, you have to add the first method manually?

OK. Sorry to bore you all and I don't expect any responses, but if you work with this crap, hook me up, man. I don't want to spin my wheels for another week on this crap. It's kind of the basis for my architecture, and I made a lot of 'Crazy Promises' that this would work to my boss, and all.

Thanks.

Offline
Top of Page Profile Contact Info 
 Post Number: 2
askheaves Search for posts by this member.
Ack!!!
Avatar



Group: Members
Posts: 1955
Joined: Sep. 2000
PostIcon Posted on: Mar. 27 2001,19:54 Skip to the previous post in this topic.  Ignore posts   QUOTE

Never mind. I figured it out. Wasn't as bad as I thought.

I rule

Offline
Top of Page Profile Contact Info 
1 replies since Mar. 27 2001,04:52 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


 
reply to topic new topic new poll

» Quick Reply ATL COM Interface Inheretance
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code