Using CFile & CString in non-MFC app
Posted on 1997-07-07
I am trying to write a program that uses Driect X for display. I have a early version working, but I wanted to use CFile and CString to access the filesystem. I can't make htis an MFC project since DirectX will fight over control of the event loop. (If I am wrong, please correct me)
I tried including afx.h which seemed to work OK, except that the linker complains that __beginthreadex and __endthreadex were unresolved externals. I tried changing the libraries and compiler defentitions, but it always made things worse. What do I need to add to comile my program with CString?