Jimbo_Durham
February 1st, 2008, 12:47 PM
Hello,
I have written a lot of C++ code in VS2005 express. specifically it depends on tchar.h and direct.h. For various reasons i cannot use windows any more and have to continue the project under ubuntu linux. I can complie standard C++ programs using g++ from the therminal, however some of the more complecated programs have dependencies such as tchar.h and direct.h which are supported by windows only. Is there a way of simulating these on linux (WINE?) or better still replacing the relevent parts of the code with a native linux alternative. For example tchar is used to set a file structure in windows format ie c:\... and this is meaningless under linux. Specifically a way of setting up a folder system into which data txt files can be written is needed and any example code would be great.
also what code calls direct.h?
any help would be great
James
I have written a lot of C++ code in VS2005 express. specifically it depends on tchar.h and direct.h. For various reasons i cannot use windows any more and have to continue the project under ubuntu linux. I can complie standard C++ programs using g++ from the therminal, however some of the more complecated programs have dependencies such as tchar.h and direct.h which are supported by windows only. Is there a way of simulating these on linux (WINE?) or better still replacing the relevent parts of the code with a native linux alternative. For example tchar is used to set a file structure in windows format ie c:\... and this is meaningless under linux. Specifically a way of setting up a folder system into which data txt files can be written is needed and any example code would be great.
also what code calls direct.h?
any help would be great
James