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

CString syntax error

Status
Not open for further replies.

CaKiwi

Programmer
Apr 8, 2001
1,294
US
My application C++ dll but is essentially just C code. I need to call a routine in another library but when I include the header file containing the prototype for the routine I get syntax errors because of CStrings declared in the header file. What do I need to do to make the compiler recognize CStrings?

Thanks

CaKiwi
 
Code:
#include <afx.h>
And make sure mfc\include is on the include path
 
Thanks, xwb, I don't how I missed that.

CaKiwi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top