Subj : Re: Tlink problem: bmdblib.lib - Borland C++ To : borland.public.cpp.borlandcpp From : erwinn reza Date : Mon Jun 07 2004 08:33 pm Hi Ed, Bob has answered your questions. Yes, it is an MSDOS program. I am not really sure abt your 2nd question. But I think it is just like another C standard libraries. The following is my command line to compile and link my apps: bin\bcc -ml -v -Ic:\bc31\include -Lc:\bc31\lib contohdb.cpp bmdblib.lib There seems to be a function within bmdblib called "dbextern" that refers to GETNODE which I never know and never use. Well actually I have done exactly as instructed by the manual (MSSQL7) abt using DB Library for C using Borland C++3.1. Does it matter because I compile it in my Windows 2000 Prof PC (Console mode using "cmd" command)? So far I have been able to to compile my apps this way using BTRIEVE(ISAM) for the record manager. But got problem above when try to use MSSQL7 Do I have to compile it in MSDOS PC? I know Bob suggested me to go to MS Technet (and I will), but just wonder if you could still give me some helps. Thks erwinn "Ed Mulroy [TeamB]" wrote: >> Currently i am working on my MS SQL 7 database >> apps project using my old compiler Borland C++3.1. >> It's a console apps.... > >BC++ 3.1 is 16 bit only so is not capable of creating a console >application. > > >Please tell some things about your program: > >Is your program is a DOS program or a 16 bit Windows one? > >Is bmdblib.lib a static library, one which contains object files or >an import library, one which contains references to a DLL which >is where the functions and their code are located? > >. Ed > >> Erwinn Reza wrote in message >> news:40c4625c$1@newsgroups.borland.com... >> >> I am new here. first off i am so sooryyy with this out of >> date question. But I've been searching all the way down from >> many sources and I havent got any answer. >> >> Currently i am working on my MS SQL 7 database apps >> project using my old compiler Borland C++3.1. It's a console >> apps. Please dont ask me why still console? and dont tell me >> to go forward to Visual C++. >> >> I am using "DB Library for C" to connect my apps to MSSQL7. >> When linking (either thru IDE or command line TLINK.exe) the >> following error occured: >> >> Turbo Link Version 5.1 Copyright (c) 1992 Borland International >> Error: Undefined symbol GETNODE in library file >> c:\bc31\lib\bmdblib.lib in module DBEXTERN. >> >> I think I have provided all the necessary files & sources as the >> following: >> 1. BMDBLIB.LIB: a "DB-Library for C" library for MSSQL7 >> 2. sqldb.h & sqlfront.h >> >> both provided by MSSQL7 >> >> 3. Put "#DEFINE DBMSDOS" in my apps. >> >> Does anybody of you have such experience??? Please help me. >> I know some oldies like me out there maybe still use BC++3.1 > > .