[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-atl
Subject:    Abstract definition
From:       "Julian J.None" <jnone () MAIL ! RU>
Date:       2000-07-31 23:16:30
[Download RAW message or body]


Hi,

If I need to implement the abstract interface what should I do?
I know that my .idl file will looks like
*****
import "../common/notifycommon.idl"; <- abstract interface description

 [
  object,
  uuid(BE75E659-CE88-11D2-97D6-00A0247D759A),
  dual,
  helpstring("ISrvcNotificationImpl Interface"),
  pointer_default(unique)
 ]
 interface ISrvcNotificationImpl : IDispatch
 {
 };

[
 uuid(BE75E64D-CE88-11D2-97D6-00A0247D759A),
 version(1.0),
 helpstring("SMTPNotification 1.0 Type Library")
]
library SMTPNOTIFICATIONLib
{
 importlib("stdole32.tlb");
 importlib("stdole2.tlb");

 [
  uuid(BE75E65A-CE88-11D2-97D6-00A0247D759A),
  helpstring("SrvcNotificationImpl Class")
 ]
 coclass SrvcNotificationImpl
 {
  [default] interface ISrvcNotificationImpl;
  interface ISrvcNotification; <- abstract interface
 };
};
****
because someone manually  put import "../common/notifycommon.idl"; and added
interface ISrvcNotification;. It is done but what way do i need to change
the header SrvcNotificationImpl.h(BEGIN_COM_MAP etc.)?

Please indicate where I can read about that.

Thanks,
Julian

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic