How can I use CString in a Win32 application ?
-
I developed a program as a Win 32 application (non-MFC) But I find it very difficult to work with string without CString (MFC). Can I use this MFC class in my program without rewriting my program ? Can I include this MFC class like a normal class ? Help me ! Hung Son A Vietnamese student i-g.hypermart.net dlhson2001@yahoo.com
-
I developed a program as a Win 32 application (non-MFC) But I find it very difficult to work with string without CString (MFC). Can I use this MFC class in my program without rewriting my program ? Can I include this MFC class like a normal class ? Help me ! Hung Son A Vietnamese student i-g.hypermart.net dlhson2001@yahoo.com
dlhson wrote: Can I use this MFC class in my program without rewriting my program ? no. but there are many classes available on this very site that do just about everything CString can do. or, you could use std::string. -c
Cheap oil. It's worth it!
Image Processing - just like mom used to make.
-
I developed a program as a Win 32 application (non-MFC) But I find it very difficult to work with string without CString (MFC). Can I use this MFC class in my program without rewriting my program ? Can I include this MFC class like a normal class ? Help me ! Hung Son A Vietnamese student i-g.hypermart.net dlhson2001@yahoo.com
Yes you can, you just need to include MFC support. Look up this topic in MSDN. Add MFC Support to an ATL Project Adding MFC support to a Win32 app is similar.