'CString' : undeclared identifier

J

Javier

Hi

I'm newbie with C++/ADO and I'm (trying) to develop a littl app with
VC++ 6 that connects with MSDE using ADO.

At compile time I receive a lot of messages that say: 'CString' :
undeclared identifier. Surely, I've not the corresponding include
statement, but...which is the include I should place there ?

Now I've:

#include <windows.h>
#include <stdio.h>
#include <string>
#include <iostream.h>
#include <sstream>


Which one should I add ?

Thanks in advance

J
 
J

Jens Marder

Put your cursor over the text of CString and press
the "F1" key. MSDN Help will show you the info
available to CString, including the ".h" include file
it's declared in.
 
J

Javier

Jens said:
Put your cursor over the text of CString and press
the "F1" key. MSDN Help will show you the info
available to CString, including the ".h" include file
it's declared in.


Thanks for your reply but I've not MSDN installed (and no CD)...

Any other idea ?

Thanks in advance

J
 
S

Shezan Baig

Javier said:
Thanks for your reply but I've not MSDN installed (and no CD)...

Any other idea ?

Thanks in advance

J

Try afxwin.h

Hope this helps,
-shez-
 
J

Jens Marder

Javier said:
Thanks for your reply but I've not MSDN installed (and no CD)...

Any other idea ?

Thanks in advance

J

Are you joking ??
The Compiler is USELESS without MSDN!
If you've got no MSDN CDs, buy yourself
a copy (or "borrow" them somewhere)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top