Click here to Skip to main content
15,892,965 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Print a long CString Pin
Richard MacCutchan5-Dec-14 22:18
mveRichard MacCutchan5-Dec-14 22:18 
Questionadd file version to a new text file Pin
henryh5-Dec-14 4:58
henryh5-Dec-14 4:58 
AnswerRe: add file version to a new text file Pin
den2k885-Dec-14 5:12
professionalden2k885-Dec-14 5:12 
GeneralRe: add file version to a new text file Pin
henryh5-Dec-14 5:26
henryh5-Dec-14 5:26 
GeneralRe: add file version to a new text file Pin
Richard MacCutchan5-Dec-14 6:36
mveRichard MacCutchan5-Dec-14 6:36 
GeneralRe: add file version to a new text file Pin
henryh5-Dec-14 10:42
henryh5-Dec-14 10:42 
AnswerRe: add file version to a new text file Pin
Randor 5-Dec-14 6:03
professional Randor 5-Dec-14 6:03 
AnswerRe: add file version to a new text file Pin
Richard MacCutchan5-Dec-14 6:35
mveRichard MacCutchan5-Dec-14 6:35 
GeneralRe: add file version to a new text file Pin
Randor 5-Dec-14 6:48
professional Randor 5-Dec-14 6:48 
GeneralRe: add file version to a new text file Pin
Richard MacCutchan5-Dec-14 7:17
mveRichard MacCutchan5-Dec-14 7:17 
GeneralRe: add file version to a new text file Pin
henryh5-Dec-14 10:39
henryh5-Dec-14 10:39 
GeneralRe: add file version to a new text file Pin
Richard MacCutchan5-Dec-14 11:52
mveRichard MacCutchan5-Dec-14 11:52 
AnswerRe: add file version to a new text file Pin
David Crow8-Dec-14 3:49
David Crow8-Dec-14 3:49 
QuestionPrinting with a CString Pin
Gagnon Claude5-Dec-14 3:31
Gagnon Claude5-Dec-14 3:31 
AnswerRe: Printing with a CString Pin
jeron15-Dec-14 3:59
jeron15-Dec-14 3:59 
SuggestionRe: Printing with a CString Pin
Richard MacCutchan5-Dec-14 4:05
mveRichard MacCutchan5-Dec-14 4:05 
AnswerRe: Printing with a CString Pin
Randor 5-Dec-14 6:14
professional Randor 5-Dec-14 6:14 
QuestionCS Data Struct Pin
Member 112872284-Dec-14 12:46
Member 112872284-Dec-14 12:46 
AnswerRe: CS Data Struct Pin
Richard MacCutchan4-Dec-14 21:27
mveRichard MacCutchan4-Dec-14 21:27 
AnswerRe: CS Data Struct Pin
CPallini4-Dec-14 21:46
mveCPallini4-Dec-14 21:46 
QuestionMFC app - "Encountered an improper argument" Pin
Member 112858094-Dec-14 1:08
Member 112858094-Dec-14 1:08 
Hi,
I "inherited" an legacy app written some 12 years ago, not being C++ developer since university.
I have MS Visual Studio 2010 project out of it, all builds OK. All even runs OK on Windows XP 32 bit(where it's built),
but when trying it on Windows 2008 server 64bit, it throws "Encountered an improper argument".

More specifically, it's super simple app that displays 2 password fields (second for confirmation), and button for storing generated file on file system (so Save as... dialog). And error shows up when clicking on this button/trying to open Save dialog).
When run in debug mode, in same action, it throws Assertion error, pointing to dlgfile.cpp in MFC libs, line 479.

The executable is generated with VS settings Multi-threaded Debug DLL as runtime library, and "Use MFC as shared DLL"

I would presume that some .dll provided is incorrect version from rest/expected by code, but I have no clue how to find it.
Any help on how to fix this is strongly welcomed!
AnswerRe: MFC app - "Encountered an improper argument" Pin
Richard MacCutchan4-Dec-14 2:04
mveRichard MacCutchan4-Dec-14 2:04 
GeneralRe: MFC app - "Encountered an improper argument" Pin
Member 112858094-Dec-14 2:09
Member 112858094-Dec-14 2:09 
GeneralRe: MFC app - "Encountered an improper argument" Pin
Richard MacCutchan4-Dec-14 2:39
mveRichard MacCutchan4-Dec-14 2:39 
GeneralRe: MFC app - "Encountered an improper argument" Pin
Member 112858094-Dec-14 3:06
Member 112858094-Dec-14 3:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.