Click here to Skip to main content
16,006,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionResizing problem Pin
mikobi10-Apr-06 2:17
mikobi10-Apr-06 2:17 
AnswerRe: Resizing problem Pin
includeh1010-Apr-06 3:05
includeh1010-Apr-06 3:05 
GeneralRe: Resizing problem Pin
mikobi10-Apr-06 3:57
mikobi10-Apr-06 3:57 
Questionwhy can not I get a long filename through GetModuleFileName( )? Pin
ewighell10-Apr-06 2:09
ewighell10-Apr-06 2:09 
QuestionRe: why can not I get a long filename through GetModuleFileName( )? Pin
David Crow10-Apr-06 2:25
David Crow10-Apr-06 2:25 
AnswerRe: why can not I get a long filename through GetModuleFileName( )? Pin
Thierry Maurel10-Apr-06 2:25
Thierry Maurel10-Apr-06 2:25 
AnswerRe: why can not I get a long filename through GetModuleFileName( )? Pin
Naveen10-Apr-06 2:26
Naveen10-Apr-06 2:26 
AnswerRe: why can not I get a long filename through GetModuleFileName( )? Pin
James R. Twine10-Apr-06 2:36
James R. Twine10-Apr-06 2:36 
   Let me try to actually answer the subject of ou post...

   That function dates back to 16-bit Windows, and my guess is that since only FAT-style 8.3 filenames were supported, Win32 inherited that behavior.

   Also, note that the GetModuleFileName(...) function is one of the few that is capable of returning filepaths longer than MAX_PATH, so do not assume that MAX_PATH is always going to be long enough...

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
QuestionConverting .rtf to .HLP-File Pin
hanno2510-Apr-06 1:52
hanno2510-Apr-06 1:52 
AnswerRe: Converting .rtf to .HLP-File Pin
Laxman Auti10-Apr-06 2:03
Laxman Auti10-Apr-06 2:03 
AnswerRe: Converting .rtf to .HLP-File Pin
Waldermort10-Apr-06 2:05
Waldermort10-Apr-06 2:05 
QuestionSyntax error Pin
parichaybp10-Apr-06 1:42
parichaybp10-Apr-06 1:42 
AnswerRe: Syntax error Pin
toxcct10-Apr-06 1:46
toxcct10-Apr-06 1:46 
GeneralRe: Syntax error Pin
parichaybp10-Apr-06 2:12
parichaybp10-Apr-06 2:12 
GeneralRe: Syntax error Pin
toxcct10-Apr-06 2:13
toxcct10-Apr-06 2:13 
AnswerRe: Syntax error Pin
Laxman Auti10-Apr-06 1:55
Laxman Auti10-Apr-06 1:55 
GeneralRe: Syntax error Pin
parichaybp10-Apr-06 2:06
parichaybp10-Apr-06 2:06 
GeneralRe: Syntax error Pin
toxcct10-Apr-06 2:10
toxcct10-Apr-06 2:10 
GeneralRe: Syntax error Pin
parichaybp10-Apr-06 2:19
parichaybp10-Apr-06 2:19 
AnswerRe: Syntax error Pin
eli1502197910-Apr-06 2:12
eli1502197910-Apr-06 2:12 
GeneralRe: Syntax error Pin
toxcct10-Apr-06 2:15
toxcct10-Apr-06 2:15 
GeneralRe: Syntax error Pin
eli1502197910-Apr-06 2:21
eli1502197910-Apr-06 2:21 
GeneralRe: Syntax error Pin
parichaybp10-Apr-06 2:27
parichaybp10-Apr-06 2:27 
GeneralRe: Syntax error Pin
eli1502197910-Apr-06 2:52
eli1502197910-Apr-06 2:52 
AnswerRe: Syntax error Pin
khan++10-Apr-06 4:55
khan++10-Apr-06 4:55 

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.