Article View: borland.public.delphi.language.objectpascal
Article #32468Re: Problems calling a function from a DLL file
From: Adams
Date: Sun, 24 Nov 2002 02:31
Date: Sun, 24 Nov 2002 02:31
17 lines
1886 bytes
1886 bytes
The DLL also contains a dialog box that lunches when a call is made to the function, it is clear that the programmer used MFC to build that dialog box, my question is that if CString was converted to char*, will the DLL work under delphi? Rudy Velthuis (TeamB) wrote: > In article <3ddf9c20@newsgroups.borland.com>, Adams says... > >>I already asked the programmer to provide me PChar version instead of >>CString, but can you tell me what is an MFC type CString plz? > > > CString is a class that Microsoft designed for their MFC framework > (instead of using the standard C++ string type, or simply char*). I > don't know the exact layout of the class. AFAIK, most classes in the MFC > framework start with a C, like CWindow, CListBox, etc.
Technical Details
Message-ID:
<3ddfad6b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3ddf8143@newsgroups.borland.com> <3ddf8f51@newsgroups.borland.com> <3ddf9c20@newsgroups.borland.com> <3ddfa9da$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d30,4439140b96f8435d X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2002-11-23 09:15:31 PST Date: Sat, 23 Nov 2002 18:31:31 -0800 From: Adams <lonereck@hotmail.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.delphi.language.objectpascal Subject: Re: Problems calling a function from a DLL file References: <3ddf8143@newsgroups.borland.com> <3ddf8f51@newsgroups.borland.com> <3ddf9c20@newsgroups.borland.com> <3ddfa9da$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.118.5.204 Message-ID: <3ddfad6b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038069099 212.118.5.204 (23 Nov 2002 08:31:39 -0800) Lines: 18 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail