Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedded SQL in C

Status
Not open for further replies.
May 6, 2001
1
US
I am trying to run on the embedded sql example (Example1.sqc) provided by
Microsoft with SQL Server CD. First I generating the 'C' code using
'nsqlprep.exe'utility on example1.sqc. When I try to compile the example1.c using VC++ 6.0 generated by nsqlprep, I get the below errors. Please help. I am using SQL Server 7 on Windows NT 4 Workstation. I have also linked the below lib's.

sqlakw32.lib
ntwdblib.lib
caw32.lib

Also is embedded SQL supported in SQL Server 2000 ?.

Thanks in advance.
Dhandamdudi


Compiling...
example3.c
Linking...
example3.obj : error LNK2001: unresolved external symbol _GetConnectToInfo
Debug/example3.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

example3.exe - 2 error(s), 0 warning(s)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top