Max,

while trying that, I discovered that the lib file that was generated by
coff2omf resulted in a 1kb file from a 62kb file so it obviously didn't
work. So, then using tlib (the borland equivalent of MS's library utility) I
tried to examine the .lib file. But tlib says that there is a bad header in
the lib file which I am assuming is just a compatibility issue.

The documentation for the lib files says that they should be usable by any
win32 C/C++ application. So I'm thinking there must just be a switch or
directive to somehow get C++Builder to use it properly. The header for the
lib file has the routine defined as:

extern "C" {
  extern int __cdecl mobileCreateConnection(LPTHIS_CONNECTION connection);
}

Regards,
Phil.

----- Original Message -----
From: "Max Nilson" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 11:20 AM
Subject: RE: [DUG]: C++ Name mangling


> Phil Middlemiss said:
>
> > we don't have the OBJ files, just the lib files.
>
> Both MS and Borland have library utilities (the MS one is called LIB) that
> allows you to stick OBJ's into a library, and remove them later. That's
how
> library files are created in the first place! So it you have the .LIB file
> you can esaily extract all of the .OBJ files from it using the utility, as
> well as listing all the included OBJ's, and other useful tricks.
>
> Cheers, Max.
>
> --------------------------------------------------------------------------
-
>     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/
>

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