> I try to embedd SQL calls in my application written in c++. > The SAP database is on W2K server. > Aplication is on W2K workstation. > SAP DB is 7.3.029 > Compiler is bcc32 /from borlands command line tools/ > Precompiler converts code properly without warnings, the > compilation phase > runs smoothly but i can't link the resulting object file with SAP DB > libraries. The path to libraries directory is set correctly, > but ilink32 > displays "unresolved external ... "messages for all SAP > function embededd
Borland C++ uses a different format for object files. You might want to search the mailing list for this, as it has been discussed before (http://www.google.com/search?q=borland+site%3Alistserv.sap.com). I'm not sure that there was a working solution. If you get it going, please sum up the steps necessary and post them either to the mailing list or better yet to the Wiki (http://sapdb.2scale.net/moin.cgi/FrontPage). -- Daniel Dittmar SAP DB, SAP Labs Berlin [EMAIL PROTECTED] http://www.sapdb.org/ > -----Original Message----- > From: Lukasz Borzecki [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 1:04 PM > To: '[EMAIL PROTECTED]' > Subject: Problem with linking sap libraries with application in c++ > > > Hi, > > I try to embedd SQL calls in my application written in c++. > The SAP database is on W2K server. > Aplication is on W2K workstation. > SAP DB is 7.3.029 > Compiler is bcc32 /from borlands command line tools/ > Precompiler converts code properly without warnings, the > compilation phase > runs smoothly but i can't link the resulting object file with SAP DB > libraries. The path to libraries directory is set correctly, > but ilink32 > displays "unresolved external ... "messages for all SAP > function embededd > in program by the precompiler. I had tried cpclnk then, but it only > displayed : > > link -out:program.exe program.obj F:\sapdb\depend\LIB\libsqlca.lib > F:\sapdb\depend\LIB\libpcrm.lib libcmt.lib oldnames.lib kernel32.lib > -nodefaultlib:libc user32.lib gdi32.lib advapi32.lib > > and did nothing. There was no exe file, no warnings or error > messages. I > didn't find no information about options of cpclnk so i don't > know what to > try next. > > I'm new to SAP DB so could you tell me what did i do wrong, please? > > Regards > > Łukasz Borzęcki > _______________________________________________ > 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
