Hi Leigh, I gave up on trying to use the .lib files as they stand. We are going to go back to the providers and see if we can get source, or a dll or something else. If not, we will have to get the compiler that they used.
Regards, Phil. ----- Original Message ----- From: "Leigh Wanstead" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 10:35 AM Subject: RE: [DUG]: C++ Name mangling > Hi Phil, > > Just want to know how is your status with your library? > > Cheers > Leigh > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Phil Middlemiss > Sent: Tuesday, January 07, 2003 1:36 PM > To: Multiple recipients of list delphi > Subject: Re: [DUG]: C++ Name mangling > > > Thanks Corey, > at least now I know. > > Regards, > Phil. > ----- Original Message ----- > From: "Corey Murtagh" <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Tuesday, January 07, 2003 12:22 PM > Subject: Re: [DUG]: C++ Name mangling > > > > Hi Phil, > > > > I'm sorry to be the bearer of bad tidings, but there's a lot more to lib > > files than just coff/omf formatting. The object files inside need to be > > linked against the correct runtime (probably MS's C++ RTL in this case), > > etc. It's not just a matter of getting them in the right format for > > Builder. The documentation's claim that the libs are 'usable by any win32 > > C/C++ application' is, unfortunately, bogus. > > > > Generally if you have a lib-only distribution, it is specific to a > > particular compiler... or at best, family of. You'll have to find > something > > else that does what you need, or beg the people that wrote it to produce a > > DLL version or open the source to you so you can build the lib yourself. > > > > On the other hand, if the lib is just an interface to a DLL, then you can > > use implib.exe to create a borland-compatible library for it. The library > > will handle run-time linking to the DLL, so you just have to have the DLL > > somewhere the app can locate it at run - same dir as the exe, or installed > > to the windows\system, or whatever. > > > > HTH. > > > > (And who knew I'd actually get to answer a question about MY favorite > > compiler here? <G>) > > > > ----- Original Message ----- > > From: "Phil Middlemiss" <[EMAIL PROTECTED]> > > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > > Sent: Tuesday, January 07, 2003 11:52 AM > > Subject: Re: [DUG]: C++ Name mangling > > > > > > > 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. > > > > -- > > Corey Murtagh > > The Electric Monk > > "Quidquid latine dictum sit, altum viditur." > > > > -------------------------------------------------------------------------- > - > > 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/ > > > -------------------------------------------------------------------------- - > 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/
