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

vc++-oracle connectivity-sql files

Status
Not open for further replies.

pavocrista

Programmer
May 14, 2004
1
US
I have some sql files ,with packages,triggers together in each file,i want to open these files from vc++ and read the file text ,execute the sql statements of triggers together,packages together and write to log files ,if encounters any error i have to come out of the prgm.i am using mfc lib for this but my prgm is not able to recognise the .h and .cpp files of the cfile and cstring classes of mfc lib though i included it in the project,can u help out with the complete solution for this whole project?...........i am new to vc++.thanks for ur help.
 
>"...is not able to recognise the .h and .cpp files of the cfile and cstring classes .."
If the application is a Console Application then you should add
#include <afx.h>
and in the Project->Setting ->General select "Using MFC in a shared DLL" or Static.
If the application is a MFC application then CString and CFile classes are automatically there.
-obislavu-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top