Category : mfc

I am working on a legacy code that uses MFC and Visual C++ libraries. I need to create a vector of CString that can hold Cyrillic words as shown in the following sample code snippet: std::vector<CString> vecContainingCyrillicWords; vecContainingCyrillicWords.push_back(_T("English Words")); vecContainingCyrillicWords.push_back(_T("Русские слова")); PROBLEM: As seen in the debugging result below, the Cyrillic word is not correctly ..

Read more

I have a simple c++ console application I use to drive a colorimeter. The functions that interface to the device were provided in the form of a MSVC DLL with __cdecl. I was also given the corresponding .h and .lib files. All processing rests on an Event handler that needs to be instantiated on startup. ..

Read more