views:

239

answers:

1

I'm trying to make an windows application within Netbeans. When using Visual studio it is no problem to use files like tchar.h

I have receaved a basic file structure containing those and I'm trying to get them to work on Netbeans IDE but it seems that Netbeans won't allow using files from Visual Studio.

I have tried to add the tchar.h file and all other file it required (including some C++ core files) and commenting the errors written in those care files:

#error ERROR: Use of C runtime library internal header file.

But netbenas can't find the tchar.h file while being in same folder...

A: 

If you're using gcc you might consider using the unix style wide characters instead of the microsoft specific version. Look at wchar.h

http://en.wikipedia.org/wiki/Wchar.h

Jay