All,
I have a problem with LoadString not finding any Afx Strings, the various VERIFY
statements assert due to not finding the string.
The strings vary from "Untitled" which is used
via a NewDocument call, to "Do you wish to save ?"
e.g. of a verify assert
BOOL CDocManager:
oPromptFileName(CString& fileName, UINT nIDSTitle,
DWORD lFlags, BOOL bOpenFileDialog, CDocTemplate* pTemplate)
{
CFileDialog dlgFile(bOpenFileDialog);
CString title;
VERIFY(title.LoadString(nIDSTitle)); //stops here
The history behind this is I am trying to import in to an existing app
a seperate app that has a view/doc etc. Do I need to link in any
special libs ? Thanks.
Marcus.
I have a problem with LoadString not finding any Afx Strings, the various VERIFY
statements assert due to not finding the string.
The strings vary from "Untitled" which is used
via a NewDocument call, to "Do you wish to save ?"
e.g. of a verify assert
BOOL CDocManager:
DWORD lFlags, BOOL bOpenFileDialog, CDocTemplate* pTemplate)
{
CFileDialog dlgFile(bOpenFileDialog);
CString title;
VERIFY(title.LoadString(nIDSTitle)); //stops here
The history behind this is I am trying to import in to an existing app
a seperate app that has a view/doc etc. Do I need to link in any
special libs ? Thanks.
Marcus.