Click here to Skip to main content
15,889,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

I want to connect ms sql server 2008 from visual studio 2010 by using language C++ and I need some useful tutorials. I get this error :"fatal error C1083: Cannot open include file: 'sqlfront.h': No such file or directory".
please help me

thanks in advance.
Posted
Comments
Richard MacCutchan 4-Dec-11 11:45am    
Well the first thing you need to do is add that file, or its path, to your project. After that you need to try a Google search for some sample projects.
kurtiniadiss 4-Dec-11 12:02pm    
I may not have that file so i tried to find it from the net but couldnt. i suspect there may be a technical reason behind this error. please give me a detailed explanation for this.
Thanks again richard
Richard MacCutchan 4-Dec-11 12:39pm    
Detailed explanation: You cannot #include a header file if that file does not exist. If you do not understand a basic concept such as this then I suggest you should be choosing a simpler project to learn from.

 
Share this answer
 
Comments
kurtiniadiss 4-Dec-11 13:54pm    
thank you very much, it helped a lot :)
Uday P.Singh 5-Dec-11 12:25pm    
you are welcome :)
Monjurul Habib 11-Dec-11 20:59pm    
5!
Uday P.Singh 12-Dec-11 4:21am    
thank you Monjurul :)
I just remove the inclusion of that file and was able to build my solution. I guess VS2010 have these definitions by default.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900