i have an not Unicode MFC Application, programmed in Visual Studio 2010 with C++. For translating my software, i have extraced all the resources into a resource -dll. This dll is translated with a tool, visual localize, to russian language i.e.. .
I load the dll with
this->m_hLanguageDLL=LoadLibrary(csFullDllName);
...
AfxSetResourceHandle(m_hLanguageDLL);
..
Most parts work well, but some text is displayes as ???? only. I reduced the problem to text, that is loaded from the resource with
CString csTmp;
...
csTmp.Format( IDS_STRING246 );
this results in the wrong text.
Can anybody give me a clou, what is wrong with this concept or how to get the correct behavior. Opening the dll in Visual Studio, the text entries are translated correctly.
Bookmarks