I did try that initially but ran into link problems with Cygwin unable to resolve __iob. It seems like iob is not provided by Cygwin, so I gave up and went for the dll import instead.
When I get a chance I'll try again with mingw, so I can use msvcrt which should sort out that iob problem. Thanks David >-- Original Message -- >From: "Diesing, Burkhard" <[EMAIL PROTECTED]> >To: "'sceptic'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: RE: Precompiler C/C++ >Date: Thu, 13 Mar 2003 15:21:45 +0100 > > >Hello, >> -----Original Message----- >> From: sceptic [mailto:[EMAIL PROTECTED] > >>Ok, I had a try at this and it seems to work ok (using GCC on Cygwin) as >>follows:- >... >> >> This should compile/link ok (assuming libpcr.dll.a and >> libsqlcad.lib can >> be found) and run ok (assuming libpcr.dll is in search path). > >applications should link with the 'libpcrl.lib' not against the 'libpcr.dll' >directly. The 'libpcrl.lib' is the library loader for and versioning lib >of the precompiler runtime (libpcr.dll). Using the 'libpcr.dll' instead of >the 'libpcrl.lib' will work but it includes the risk, that a newer version >of the runtime may not work correctly because of changes on the interface. > >Regards >Burkhard > >_______________________________________________ >sapdb.general mailing list >[EMAIL PROTECTED] >http://listserv.sap.com/mailman/listinfo/sapdb.general _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
