Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to resolve such problems in VC2005? Pin
Mark Salsbery15-Jul-07 6:47
Mark Salsbery15-Jul-07 6:47 
QuestionHow to config DirectX SDK in VC2005 Pin
kcynic15-Jul-07 5:25
kcynic15-Jul-07 5:25 
AnswerRe: How to config DirectX SDK in VC2005 Pin
kcynic15-Jul-07 5:57
kcynic15-Jul-07 5:57 
GeneralRe: How to config DirectX SDK in VC2005 Pin
Mark Salsbery15-Jul-07 6:34
Mark Salsbery15-Jul-07 6:34 
GeneralRe: How to config DirectX SDK in VC2005 Pin
Hamid_RT15-Jul-07 7:17
Hamid_RT15-Jul-07 7:17 
QuestionHow to create a browse file dialog which can select files longer then MAX_PATH Pin
Axter15-Jul-07 5:18
professionalAxter15-Jul-07 5:18 
AnswerRe: How to create a browse file dialog which can select files longer then MAX_PATH Pin
KevinXLi15-Jul-07 6:21
KevinXLi15-Jul-07 6:21 
GeneralRe: How to create a browse file dialog which can select files longer then MAX_PATH Pin
Axter15-Jul-07 12:31
professionalAxter15-Jul-07 12:31 
Windows does support files longer then 259 characters, but you have to use a different syntax.
You have to use prefix "\\?\" with the file name, and use CreateFile.
For more information, look at CreateFile in MSDN.

I've already tried using GetOpenFileName, and I gave it required buffer size which was greater then MAX_PATH, but it still failed.


Top ten member of C++ Expert Exchange.
http://www.experts-exchange.com/Cplusplus

AnswerRe: How to create a browse file dialog which can select files longer then MAX_PATH Pin
Mark Salsbery15-Jul-07 6:39
Mark Salsbery15-Jul-07 6:39 
GeneralRe: How to create a browse file dialog which can select files longer then MAX_PATH Pin
Axter15-Jul-07 12:32
professionalAxter15-Jul-07 12:32 
GeneralRe: How to create a browse file dialog which can select files longer then MAX_PATH Pin
Michael Dunn15-Jul-07 14:12
sitebuilderMichael Dunn15-Jul-07 14:12 
GeneralRe: How to create a browse file dialog which can select files longer then MAX_PATH Pin
Axter15-Jul-07 16:34
professionalAxter15-Jul-07 16:34 
AnswerRe: How to create a browse file dialog which can select files longer then MAX_PATH [OT] Pin
David Crow16-Jul-07 4:37
David Crow16-Jul-07 4:37 
AnswerRe: How to create a browse file dialog which can select files longer then MAX_PATH Pin
David Crow16-Jul-07 4:47
David Crow16-Jul-07 4:47 
QuestionExceptions in destructors Pin
tom groezer15-Jul-07 4:44
tom groezer15-Jul-07 4:44 
AnswerRe: Exceptions in destructors Pin
#realJSOP15-Jul-07 5:36
mve#realJSOP15-Jul-07 5:36 
GeneralRe: Exceptions in destructors Pin
Paul Conrad15-Jul-07 5:41
professionalPaul Conrad15-Jul-07 5:41 
GeneralRe: Exceptions in destructors Pin
CPallini15-Jul-07 6:07
mveCPallini15-Jul-07 6:07 
GeneralRe: Exceptions in destructors Pin
Mark Salsbery15-Jul-07 6:40
Mark Salsbery15-Jul-07 6:40 
GeneralRe: Exceptions in destructors Pin
#realJSOP15-Jul-07 8:47
mve#realJSOP15-Jul-07 8:47 
GeneralRe: Exceptions in destructors Pin
bob1697215-Jul-07 11:30
bob1697215-Jul-07 11:30 
GeneralRe: Exceptions in destructors Pin
Mark Salsbery15-Jul-07 12:15
Mark Salsbery15-Jul-07 12:15 
GeneralRe: Exceptions in destructors Pin
Paul Conrad15-Jul-07 14:12
professionalPaul Conrad15-Jul-07 14:12 
GeneralRe: Exceptions in destructors Pin
ThatsAlok16-Jul-07 0:44
ThatsAlok16-Jul-07 0:44 
GeneralRe: Exceptions in destructors Pin
Mark Salsbery16-Jul-07 5:10
Mark Salsbery16-Jul-07 5:10 

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.