As far as I know Delphi can't read C header files. Also if it is in "
Delphi will disregard it anyway.

A C header file usually contains function and class prototypes and new
type declarations. You will have to convert any header file to a .pas
file and include in your uses.

try
http://www.delphi-jedi.org/Jedi:APICONVTEAMS:357067

it has information on converting C Header files to Pascal. A word of
warning though, having done this sort of thing in the past, it is not a
trivial task and will require a knowledge of C types.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ben none
Sent: Thursday, 3 July 2003 6:59 am
To: Multiple recipients of list delphi
Subject: [DUG]: Cannot locate "cvtypes.h"

Hi there,

Ive used headconv to convert c header files to unit files.
I then created a project and added them to the uses clause
then compiled and it said:

file not found "cvtypes.h"

this is written in the converted header files of one the files I
converted.

{$INCLUDE "cvtypes.h"}

so I added a 'C header files' folder and put the cvtypes.h in there and 
added that to the search path.
Still it couldn't compile.

kept saying: file not found "cvtypes.h"

what am I doing wrong?

Also another question is I kinda figure that I should only convert the 
header files with headconv which has a dll. If no dll is present in one
of 
the folders which closely matches the name of the header file, then
don't 
convert header file. Am I right about that?

Ben Iti

_________________________________________________________________
Gaming galore at  http://xtramsn.co.nz/gaming !

------------------------------------------------------------------------
---
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus Database: 287 - Release Date: 5/06/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus Database: 287 - Release Date: 5/06/2003
 

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to