🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11393

Re: IMAPI

#11393
From: Roberto
Date: Sat, 07 Feb 2004 13:04
39 lines
2263 bytes
Thanks again Harris

I make
 // Where is the problens happen
 if((erro=pDiskM->ProgressAdvise(pEvents, &pnCookie))!=S_OK)       //
retorna um objeto decendente de IEnumXXXX ; usando o m.Next() voce  vai
pegando um bloco da matriz do tipo IDiscRecorder
    Memo1->Lines->Append("ERRO em
pDiskM->ProgressAdvise"+EnumMAPI_E(erro));
 try{ OleCheck(erro); }
 catch(const Exception &arg){  ShowMessage(arg.Message);  }

and I get  "Exception class EOleSysError wit message "catastrophical fail"
???

___________________________________________________________

I'm looking for CComPtr , but the CBuilder cant find  <atlcomcli.h> I can
find it in Visual Studio include
But I can not see how it can help me
Have I create
CComPtr<TDiscMasterProgressEvents> pDiskMP=NULL;
send  pDiskMP  to ProgressAdvise()  and

 TDiscMasterProgressEvents *pEvents =  pDiskMP;



???

Thanks
Roberto

"Michael Harris" <techonos-NO-SPAM-@attbi.com> escreveu na mensagem
news:4024cf8c$1@newsgroups.borland.com...
>
> If all else fails. try using OleCheck on the errcode (OleCheck(hr))
>
>
Technical Details
Message-ID: <4024e275@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!12.120.28.37.MISMATCH!attla2!ip.att.net!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4020ec9e@newsgroups.borland.com> <40214ea4$1@newsgroups.borland.com> <402179d9$1@newsgroups.borland.com> <4022e5ee$1@newsgroups.borland.com> <4023adef@newsgroups.borland.com> <40242620$1@newsgroups.borland.com> <4024cf8c$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-07 05:10:03 PST
From: "Roberto" <casa@artecharao.com.br>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4020ec9e@newsgroups.borland.com> <40214ea4$1@newsgroups.borland.com> <402179d9$1@newsgroups.borland.com> <4022e5ee$1@newsgroups.borland.com> <4023adef@newsgroups.borland.com> <40242620$1@newsgroups.borland.com> <4024cf8c$1@newsgroups.borland.com>
Subject: Re: IMAPI
Date: Sat, 7 Feb 2004 11:04:50 -0200
Lines: 41
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.44.182
Message-ID: <4024e275@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076159093 200.148.44.182 (7 Feb 2004 05:04:53 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!12.120.28.37.MISMATCH!attla2!ip.att.net!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail