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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

developing dblibrary with Visual C++ 6

Status
Not open for further replies.

maddlemanII

Programmer
Mar 16, 2001
1
US

I have a problem compiling my programs and the errors come from sqlfront.h, which I think this is n very weird since this the library created by Microsoft. I am using dblibrary and VIsual C++ v 6.0 ,I have created a simple dblibrary program , but it runs and compiles without any programs, but when I start using it with my MFC application it gives me this error :

d:\program files\microsoft visual studio\vc98\include\sqlfront.h(126) : error C2146: syntax error : missing ';' before identifier 'LPINT'
d:\program files\microsoft visual studio\vc98\include\sqlfront.h(126) : error C2040: 'PTR' : 'int' differs in levels of indirection from 'void *'
d:\program files\microsoft visual studio\vc98\include\sqlfront.h(126) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

The error says thta a ";" is missing, which is not true, because as I told you the library was installed by Visual Studio. I think the including headers are not properly done, but I would like to know if someone out there has done something similar, not the dblibrary examples, something which is used properly within a windows application , not in the console screen.

THank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top