🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #342

About corba midas

#342
From: Phelan Huang
Date: Fri, 22 Mar 2002 15:16
25 lines
1746 bytes
hi,
    has the usage of SAFEARRAYToAny() in any2variant.cpp changed in bcb6?
while i use the following lines,

OleVariant varError=p->ApplyUpdates(anyDelta,-1,count);
CORBA::Any_var anyError=SAFEARRAYToAny(varError);
��������

i always get the errors,

[C++ Error] DAgentImpl.cpp(31): E2034 Cannot convert ''const CORBA_Any'' to
''tagVARIANT''
[C++ Error] DAgentImpl.cpp(31): E2342 Type mismatch in parameter ''va''
(wanted ''tagVARIANT'', got ''CORBA_Any'')
��������

as i know in the bcb6 example 'customersserver.bpr.' which locates in the
examples\corba\corbamidas uses exactly the same lines to convert OleVariant
type to CORBA_Any type.


please tell me why, thank you very much.


phelan
Technical Details
Message-ID: <3c9b4aa5_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!209.251.2.12.MISMATCH!news-xfer2.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.frii.com!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,850cea1e4e24e97d,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2002-03-22 07:23:05 PST
Reply-To: "Phelan Huang" <Phelan_huang@hotmail.com>
From: "Phelan Huang" <Phelan_huang@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: About corba midas
Date: Fri, 22 Mar 2002 23:16:40 +0800
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 211.156.98.18
Message-ID: <3c9b4aa5_1@dnews>
X-Trace: dnews 1016810149 211.156.98.18 (22 Mar 2002 07:15:49 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!209.251.2.12.MISMATCH!news-xfer2.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.frii.com!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews