"Space character " making "improper argument" error in vista


New Member
Hi Everyone,

i am using CRichEditCtrl::GetLine() function to read the text from a dialog.
If my text contains any space character then it is throwing improper argument error and the application getting closed in vista only.....
What is the actual problem ????? why it is happening with vista only...?

Please suggest

My Computer