Article View: comp.lang.pascal.delphi.misc
Article #7Re: Delphi calls to a C++ DLL
From: John C. Lund
Date: Fri, 02 Feb 1996 21:37
Date: Fri, 02 Feb 1996 21:37
20 lines
1189 bytes
1189 bytes
helicon wrote: >> nIndex:= GetFieldsForTable(strpcopy(pcharBuiffer,'Test'), >> strpcopy(pcharBuiffer,''), >> strpcopy(pcharBuiffer,''), >> strpcopy(pcharBuiffer,'Employees')); > > I think the problem is, that you use the same Buffer for > each parameter. I wish that were the problem, but I'm afraid that's my clumsy typing. "pcharBuiffer" is a typo. I use a different variable for each buffer in the actual code. I should mention that I'm running using 32 bit flavors of Delphi (2.0 beta), and Visual C++ 4.0 on both Windows 95 and Windows NT. Thanks for responding, Andreas. -- // John C. Lund jlund@allaire.com http//:www.allaire.com/
Technical Details
Message-ID:
<3112841B.5D2F@allaire.com>Path:
arc1-ca.pugleaf.net!scream.ing.com!newsReferences:
<310FD68B.208B@allaire.com> <4erttn$l9v@newsfeed.via.at>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!scream.ing.com!news From: "John C. Lund" <jlund@allaire.com> Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.c++ Subject: Re: Delphi calls to a C++ DLL Date: Fri, 02 Feb 1996 15:37:31 -0600 Organization: Allaire Message-ID: <3112841B.5D2F@allaire.com> References: <310FD68B.208B@allaire.com> <4erttn$l9v@newsfeed.via.at> NNTP-Posting-Host: 206.144.133.15 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.0b6a (Win95; I)