🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #138

Re: how can I use dll created for C?

#138
From: Markus
Date: Wed, 09 Sep 1998 00:00
22 lines
1574 bytes
Martin Szotkowski schrieb in Nachricht <35F6366B.47E4@trz.cz>...
>Hi All,
>I have commercial product, which contains some dll files. There are some
>C header files and lib libraries files too, but I have not source codes.
>I know how write programs with C, it's ease include *.h and link library
>to my project.
>
>How can I make this with Delphi? Should I make myself some unit with
>declaration or something else?
>Please help me.
>
>Thank you for all ideas          Martin
>
>martin.szotkowski@trz.cz

Hi,

You will have to create your own import unit. Don't forget to use the
"stdcall" argument while calling c dll's.

Markus
Technical Details
Message-ID: <6t6o8b$ndv$1@unlisys.unlisys.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35F6366B.47E4@trz.cz>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1091e5,4379e74e57cdf452
X-Google-Attributes: gid1091e5,public
X-Google-Thread: fd817,4379e74e57cdf452
X-Google-Attributes: gidfd817,public
X-Google-Thread: 1043cf,4379e74e57cdf452
X-Google-Attributes: gid1043cf,public
X-Google-Thread: 10baee,4379e74e57cdf452
X-Google-Attributes: gid10baee,public
X-Google-Thread: 10545b,4379e74e57cdf452
X-Google-Attributes: gid10545b,public
From: "Markus" <mberlin_24@hotmail.com>
Subject: Re: how can I use dll created for C?
Date: 1998/09/09
Message-ID: <6t6o8b$ndv$1@unlisys.unlisys.net>
X-Deja-AN: 389505953
References: <35F6366B.47E4@trz.cz>
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: [Posted via] Interactive Networx
Newsgroups: comp.lang.pascal.delphi.misc,alt.comp.lang.borland-delphi,borland.public.delphi.winapi,borland.public.delphi.ide,borland.public.delphi.objectpascal