Subj : Re: bcc32 Linking error?? To : borland.public.cpp.borlandcpp From : "Boba" Date : Tue Sep 23 2003 12:03 pm > I'm using a BCC command line tools. ..wrong NG. > Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland > Error: Unresolved external 'SQLAllocEnv' referenced from > C:\DEVCPP\TEST\TEST.OBJ > Error: Unresolved external 'SQLAllocConnect' referenced from > C:\DEVCPP\TEST\TEST.OBJ > Error: Unresolved external 'SQLConnect' referenced from > C:\DEVCPP\TEST\TEST.OBJ Looks to me you forgot to link with proper library. Also, I'd use the SQLAllocHandle call instead of SQLAllocEnv and SQLAllocConnect. BOBA .