Article View: borland.public.delphi.database.dotnet
Article #550Re: D2005: call from Win32
From: Holger Flick
Date: Tue, 28 Dec 2004 18:21
Date: Tue, 28 Dec 2004 18:21
21 lines
1497 bytes
1497 bytes
Nick,
I have to be more precise.
The Win32 app calls a .NET DLL file. The .NET DLL is a 'library' and has
a procedure, which is exported.
--
Holger
Nick Hodges [TeamB] wrote:
> Holger Flick wrote:
>
>
>>However, I have the problem that I have to include {$UNSAFECODE ON}
>>for the library to compile. How can I get around that?
>
>
> If you are trying to make a Win32 call as your subject line suggests,
> there is no way to get around it. Win32 calls are unsafe in .Net.
>
Technical Details
Message-ID:
<41d1a42d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41d19337$1@newsgroups.borland.com> <41d19a45$1@newsgroups.borland.com> <41d1a0ca$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,a8c70094973f4b1d X-Google-Attributes: gid1effe6,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 28 Dec 2004 19:21:50 +0100 From: Holger Flick <rammbaer.xyz@xyz.gmx.de> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.delphi.database.dotnet Subject: Re: D2005: call from Win32 References: <41d19337$1@newsgroups.borland.com> <41d19a45$1@newsgroups.borland.com> <41d1a0ca$1@newsgroups.borland.com> In-Reply-To: <41d1a0ca$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.143.16.72 Message-ID: <41d1a42d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1104258093 80.143.16.72 (28 Dec 2004 10:21:33 -0800) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail