🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how can I use dll created for C?

#139
From: Bob Swart
Date: Thu, 10 Sep 1998 00:00
23 lines
2054 bytes
Hi Martin,

> 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?

Check out HeadConv, my freeware C DLL header converter that I turned into a
command-line version recently (goto http://www.drbob42.com/ftp/headconv.zip).

HeadConv has full support for functions and procedures, argument and return 
types (128 custom type conversions) and generates implicit Delphi import units. 
The command-line HeadConv supports for typedefs, structs, unions, enums and 
conditional compilations. HeadConv is not targeted to do the conversion 100% 
on its own, rather it will assist you in converting the C DLL header files! 

> martin.szotkowski@trz.cz

Groetjes,
          Bob Swart (aka Dr.Bob - http://www.drbob42.com)
          
Technical Details
Message-ID: <VA.000000c4.00706900@c5706mb03901.goldmine.nl>
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: fd817,4379e74e57cdf452
X-Google-Attributes: gidfd817,public
X-Google-Thread: 1091e5,4379e74e57cdf452
X-Google-Attributes: gid1091e5,public
X-Google-Thread: 1043cf,4379e74e57cdf452
X-Google-Attributes: gid1043cf,public
X-Google-Thread: 10545b,4379e74e57cdf452
X-Google-Attributes: gid10545b,public
X-Google-Thread: 10baee,4379e74e57cdf452
X-Google-Attributes: gid10baee,public
From: Bob Swart <drbob@goldmine.nl>
Subject: Re: how can I use dll created for C?
Date: 1998/09/10
Message-ID: <VA.000000c4.00706900@c5706mb03901.goldmine.nl>
X-Deja-AN: 389839971
X-NNTP-Posting-Host: 195.75.224.131
Content-Transfer-Encoding: 8bit
References: <35F6366B.47E4@trz.cz>
Content-Type: text/plain; charset=iso-8859-1
Organization: EUnet Norway
Mime-Version: 1.0
Reply-To: drbob@goldmine.nl
Newsgroups: comp.lang.pascal.delphi.misc,alt.comp.lang.borland-delphi,borland.public.delphi.winapi,borland.public.delphi.ide,borland.public.delphi.objectpascal