From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,FROM_WORDY, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6492d1ed552013c9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-18 13:27:39 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!hermes.visi.com!199.184.165.244.MISMATCH!rcn!feed3.news.rcn.net!not-for-mail Reply-To: "Frank J. Lhota" From: "Frank J. Lhota" Newsgroups: comp.lang.ada References: Subject: Re: CString Date: Sun, 18 Jan 2004 16:27:38 -0500 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 Message-ID: <400afa4a$0$6074$61fed72c@news.rcn.com> X-Trace: DXC=_H4V_hL7Y=R114@dg^7m0Z0R]m=BkYWIW:6bU3OT9S9ZA6Oj6;H8GMZgoE6DFI?<`]UiJNk?G>8cQ X-Complaints-To: abuse@rcn.com Xref: archiver1.google.com comp.lang.ada:4541 Date: 2004-01-18T16:27:38-05:00 List-Id: "Luke A. Guest" wrote in message news:pan.2004.01.18.20.37.15.651012@n_o_p_o_r_k_a_n_d_h_a_m.abyss2.demon.co.uk... > > Hi, > > amybe you know in what way should I pass a parameter to a function from > > a ddl library that looks like this: > > > > CString F(CString *, CString); > > The best thing you can do is to stop using MFC. That is hardly worthwhile advice for someone who has to work with a third party library that uses MFC. Which compiler are you using? IIRC, ObjectAda has an MFC binding. Failing this, look into porting the MFC definition of CString into Ada.