Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unknown problem with non-english languages Pin
rahul.kulshreshtha22-Jan-11 2:19
rahul.kulshreshtha22-Jan-11 2:19 
GeneralRe: Unknown problem with non-english languages Pin
Richard MacCutchan22-Jan-11 6:24
mveRichard MacCutchan22-Jan-11 6:24 
QuestionException with CFileDialog (MFC) Pin
Le Duc Anh21-Jan-11 14:17
professionalLe Duc Anh21-Jan-11 14:17 
AnswerRe: Exception with CFileDialog (MFC) Pin
Andrew Brock21-Jan-11 15:57
Andrew Brock21-Jan-11 15:57 
GeneralRe: Exception with CFileDialog (MFC) Pin
Le Duc Anh21-Jan-11 17:18
professionalLe Duc Anh21-Jan-11 17:18 
GeneralRe: Exception with CFileDialog (MFC) Pin
Andrew Brock21-Jan-11 17:23
Andrew Brock21-Jan-11 17:23 
GeneralRe: Exception with CFileDialog (MFC) Pin
Le Duc Anh21-Jan-11 17:54
professionalLe Duc Anh21-Jan-11 17:54 
GeneralRe: Exception with CFileDialog (MFC) Pin
Andrew Brock21-Jan-11 18:13
Andrew Brock21-Jan-11 18:13 
Perhaps i should have read the next line on that page[^].
"You can call this method only while the dialog box is being displayed. After the dialog box has been closed, this function will no longer work, and the method will fail with an assertion."

Not sure why it works on Windows 7, but you can instead use
strFileName = dialog.GetPathName(); //get the full path including the file name
strFileName = strFileName.Left(strFileName.ReverseFind(_T('\\')) + 1); //remove everything after the last slash


That is just example code, and you should add error checking into it to ensure there is a '\' character
GeneralRe: Exception with CFileDialog (MFC) Pin
Le Duc Anh21-Jan-11 18:19
professionalLe Duc Anh21-Jan-11 18:19 
QuestionAnother basic debug question - how to debug OpenCV dll from my application. Pin
Vaclav_21-Jan-11 3:41
Vaclav_21-Jan-11 3:41 
AnswerRe: Another basic debug question - how to debug OpenCV dll from my application. Pin
Richard MacCutchan21-Jan-11 5:03
mveRichard MacCutchan21-Jan-11 5:03 
GeneralRe: Another basic debug question - how to debug OpenCV dll from my application. Pin
Vaclav_21-Jan-11 5:15
Vaclav_21-Jan-11 5:15 
GeneralRe: Another basic debug question - how to debug OpenCV dll from my application. Pin
Vaclav_21-Jan-11 5:32
Vaclav_21-Jan-11 5:32 
GeneralRe: Another basic debug question - how to debug OpenCV dll from my application. Pin
Richard MacCutchan21-Jan-11 6:23
mveRichard MacCutchan21-Jan-11 6:23 
GeneralRe: Another basic debug question - how to debug OpenCV dll from my application. Pin
Vaclav_21-Jan-11 8:10
Vaclav_21-Jan-11 8:10 
GeneralRe: Another basic debug question - how to debug OpenCV dll from my application. Pin
Richard MacCutchan21-Jan-11 9:16
mveRichard MacCutchan21-Jan-11 9:16 
AnswerRe: Another basic debug question - how to debug OpenCV dll from my application. Pin
Andrew Brock21-Jan-11 14:57
Andrew Brock21-Jan-11 14:57 
QuestionOpenGL and Live Video CDC. Pin
GAJERA21-Jan-11 0:57
GAJERA21-Jan-11 0:57 
QuestionHow to start debugging from application? [modified] Pin
rrrado20-Jan-11 23:27
rrrado20-Jan-11 23:27 
AnswerRe: How to start debugging from application? Pin
Andrew Brock20-Jan-11 23:36
Andrew Brock20-Jan-11 23:36 
GeneralRe: How to start debugging from application? Pin
rrrado20-Jan-11 23:45
rrrado20-Jan-11 23:45 
GeneralRe: How to start debugging from application? Pin
Andrew Brock21-Jan-11 0:38
Andrew Brock21-Jan-11 0:38 
GeneralRe: How to start debugging from application? Pin
rrrado21-Jan-11 1:26
rrrado21-Jan-11 1:26 
GeneralRe: How to start debugging from application? Pin
Andrew Brock21-Jan-11 1:35
Andrew Brock21-Jan-11 1:35 
GeneralRe: How to start debugging from application? Pin
rrrado21-Jan-11 2:44
rrrado21-Jan-11 2:44 

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.