Article View: news.software.nntp
Article #49393Re: MAPISendMail / Post to a Newsgroup
From: michael (michka) kaplan
Date: Wed, 13 Dec 2000 02:02
Date: Wed, 13 Dec 2000 02:02
46 lines
2522 bytes
2522 bytes
You could also try sending VarPtr() of the structure overall if you are having trouble getting the string pointer to work. -- MichKa a new book on internationalization in VB at http://www.i18nWithVB.com/ "Lyle Fairfield" <lylefair@yahoo.com> wrote in message news:Xns900833517lylefairyahoocom@24.2.9.58... > Although I regularly do what you suggest in calling API > functions, I am unable to do so successfully in setting the > value of an elemennt of a type. > > Type MAPIRecip > Reserved As Long > RecipClass As Long > Name As String > Address As String > EIDSize As Long > EntryID As String > End Type > > I think you want me to set the value of MAPIRecip.Address to a > long (pointer). Whether MAPIRecip is typed as long or as string, > OE trys to send mail to the first decimal digit of the strPtr > ... usually 4. > > "michael \(michka\) kaplan" > <former_mvp@nospam.trigeminal.spamfree.com> wrote in > <t3blt491060q44@corp.supernews.com>: > > >Well, there is a good way to make Unicode calls, a deprecated > >way, and a bad way. You chose the bad way. :-) > > > >With that said, I would proceed and do it the right way.... > >make the string params longs and then use StrPtr() of the > >strings for the long to pass. > > -- > Lyle > http://www.cyriv.com/
Technical Details
Message-ID:
<t3dm5s8fq2kna1@corp.supernews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<90004DFD0lylefairyahoocom@24.2.9.58> <t2n2tn369a5caf@corp.supernews.com> <t3837ukr5gj3a1@corp.supernews.com> <Xns9006B3BF6lylefairyahoocom@24.2.9.58> <t39jvdcpku0sa5@corp.supernews.com> <Xns90075F915lylefairyahoocom@24.2.9.58> <t3blt491060q44@corp.supernews.com> <Xns900833517lylefairyahoocom@24.2.9.58>Show Full Headers
Complete Article Headers
Message-ID: <t3dm5s8fq2kna1@corp.supernews.com> Subject: Re: MAPISendMail / Post to a Newsgroup Date: Tue, 12 Dec 2000 18:02:04 -0800 From: "michael \(michka\) kaplan" <former_mvp@nospam.trigeminal.spamfree.com> References: <90004DFD0lylefairyahoocom@24.2.9.58> <t2n2tn369a5caf@corp.supernews.com> <t3837ukr5gj3a1@corp.supernews.com> <Xns9006B3BF6lylefairyahoocom@24.2.9.58> <t39jvdcpku0sa5@corp.supernews.com> <Xns90075F915lylefairyahoocom@24.2.9.58> <t3blt491060q44@corp.supernews.com> <Xns900833517lylefairyahoocom@24.2.9.58> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.nntp,comp.databases.ms-access Organization: Posted via Supernews, http://www.supernews.com X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: newsabuse@supernews.com Lines: 45