Article View: borland.public.cppbuilder.nativeapi
Article #11555Re: IMAPI
From: Roberto
Date: Wed, 04 Feb 2004 23:01
Date: Wed, 04 Feb 2004 23:01
67 lines
2490 bytes
2490 bytes
Thanks Harris for the help
Only to confirm , I have to declare
class TDiscMasterProgressEvents : public IDiscMasterProgressEvents
{
public:
HRESULT STDMETHODCALLTYPE __fastcall QueryCancel( /*
[retval][out] */ boolean *pbCancel) = 0;
.....
}
and then define the
HRESULT STDMETHODCALLTYPE __fastcall
TDiscMasterProgressEvents::QueryCancel( /* [retval][out] */ boolean
*pbCancel){
...........
}
To receive the message from IMAPI
Thanks
Robert
"Michael Harris" <techonos-NO-SPAM-@attbi.com> escreveu na mensagem
news:40214ea4$1@newsgroups.borland.com...
>
> create a wrapper class for IDiscMasterProgressEvents.
>
> TDiscMasterProgressEvents
>
> pEvents = new TDiscMasterProgressEvents;
>
> m_DiscMaster->ProgressAdvise(pEvents, &UlCookie)
>
> don't forget to Unadvise when done...
>
> --
> Micahel
>
>
>
>
> "Roberto" wrote in message
> > And I don't know how to create a callback function to handle
> the
> > message create from IMAPI and received by IDiscMasterProgressEvents
> >
> > Some one can make a sample code to implement this
> >
> >
> >
> > and I'm triying to use the IDiscMaster::ProgressAdvise()
,
> > and I got error whem I use IDiscMaster::CreateInstance() with IID
> > {EC9E51C1-4E5D-11D3-9144-00104BA11C5E} = IDiscMasterProgressEvents
> > My questions is this correct ?
> >
> >
> >
> > Thanks in advance
> >
> > Robert
> >
> >
>
>
Technical Details
Message-ID:
<402179d9$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4020ec9e@newsgroups.borland.com> <40214ea4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,6d1e2738a2e27717 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-04 15:10:20 PST From: "Roberto" <casa@artecharao.com.br> Newsgroups: borland.public.cppbuilder.nativeapi References: <4020ec9e@newsgroups.borland.com> <40214ea4$1@newsgroups.borland.com> Subject: Re: IMAPI Date: Wed, 4 Feb 2004 21:01:35 -0200 Lines: 69 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 200.148.45.220 Message-ID: <402179d9$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075935705 200.148.45.220 (4 Feb 2004 15:01:45 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail