I was on the understanding that a OBJ is a OBJ is a OBJ.
Well I have tried compiling the control (included in previous message) using
delphi 3. I get the same results with C++1, Same with C++3 and C++4
complains with message about AlignControls.
So how are we suppose to support C++, I assumed that you just compiled a
.OBJ using Delphi.
Maybe I should just compile the .PAS file using C++ and use the resulting
DCU?
Chris Crowe
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Kerry Sainsbury
Sent: Monday, 20 September 1999 14:06
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Using .OBJ files compiled in D4, in C++ Builder
----- Original Message -----
From: Chris Crowe <[EMAIL PROTECTED]>
> Lost me there, trying to find that $EXTERNALSYM in the help file was a
waste
> of time, just more undocumented features.
According to my Delphi 5 help file (I didn't check Delphi 4):
Syntax {$EXTERNALSYM identifier}
The EXTERNALSYM directive prevents the specified Pascal symbol from
appearing in header files generated for C++Builder. If an overloaded routine
is specified, all versions of the routine are excluded from the header file.
See, the help files *are* getting better!
As for the more general problem with OBJ files. I liken an .obj file to a
Delphi .dcu, and I don't expect to be able to link a Delphi 5 .dcu into
Delphi's 4, 3, 2 or 1.
That said, I'm not a C++ guru.
Cheers,
Kerry S
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz