Click here to Skip to main content
15,926,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCommand Id range Pin
User 98851-Jan-03 6:24
User 98851-Jan-03 6:24 
GeneralRe: Command Id range Pin
Pavel Klocek1-Jan-03 8:37
Pavel Klocek1-Jan-03 8:37 
GeneralMemory consumption Pin
Shah Shehpori1-Jan-03 5:42
sussShah Shehpori1-Jan-03 5:42 
GeneralRe: Memory consumption Pin
Florin Ochiana1-Jan-03 11:48
Florin Ochiana1-Jan-03 11:48 
GeneralRe: Memory consumption Pin
Mike Nordell1-Jan-03 18:56
Mike Nordell1-Jan-03 18:56 
QuestionUnicode comparing of file extensions? Pin
Fahr1-Jan-03 3:55
Fahr1-Jan-03 3:55 
AnswerRe: Unicode comparing of file extensions? Pin
Gary R. Wheeler1-Jan-03 4:42
Gary R. Wheeler1-Jan-03 4:42 
GeneralRe: Unicode comparing of file extensions? Pin
Fahr1-Jan-03 5:05
Fahr1-Jan-03 5:05 
Ok, since I'm compiling only unicode I stuck with the wcs commands (Unicode is required for this, I'm not ever going to recompile it in MBCS). If there's a good reason for me to use the _TCHAR and _tcs commands instead, please tell me Smile | :)

The code DOES work now with the compare calls and the not writing back after uppercasing, but the 1-letter-extension problem still remains for some reason, after a one-letter extension it adds a 135-char... I don't get why...

As for the delete[]s, what to do in such a case if I want to RETURN the FileExt? I can't delete it before the return. And also, what to do with static variables? I assume I can't delete those either...

Thanks,
- Fahr
AnswerRe: Unicode comparing of file extensions? Pin
Michael Dunn1-Jan-03 6:36
sitebuilderMichael Dunn1-Jan-03 6:36 
GeneralRe: Unicode comparing of file extensions? Pin
Fahr1-Jan-03 6:56
Fahr1-Jan-03 6:56 
GeneralRe: Unicode comparing of file extensions? Pin
Michael Dunn1-Jan-03 7:26
sitebuilderMichael Dunn1-Jan-03 7:26 
GeneralRe: Unicode comparing of file extensions? Pin
Fahr1-Jan-03 8:39
Fahr1-Jan-03 8:39 
GeneralRe: Unicode comparing of file extensions? Pin
Michael Dunn1-Jan-03 8:54
sitebuilderMichael Dunn1-Jan-03 8:54 
GeneralRe: Unicode comparing of file extensions? Pin
Fahr1-Jan-03 9:23
Fahr1-Jan-03 9:23 
GeneralRe: Unicode comparing of file extensions? Pin
Michael Dunn1-Jan-03 9:44
sitebuilderMichael Dunn1-Jan-03 9:44 
GeneralRe: Unicode comparing of file extensions? Pin
Fahr1-Jan-03 9:49
Fahr1-Jan-03 9:49 
QuestionHow to find the Network speed (without PDH)? Pin
adara1-Jan-03 3:48
adara1-Jan-03 3:48 
AnswerRe: How to find the Network speed (without PDH)? Pin
Mike Nordell1-Jan-03 19:01
Mike Nordell1-Jan-03 19:01 
Generalexecute program from memory Pin
ncm1-Jan-03 3:25
ncm1-Jan-03 3:25 
GeneralRe: execute program from memory Pin
Mike Nordell1-Jan-03 19:03
Mike Nordell1-Jan-03 19:03 
GeneralRe: execute program from memory Pin
ncm2-Jan-03 1:06
ncm2-Jan-03 1:06 
GeneralProblem with resource id's... [Visual C++.NET] Pin
rkpk1-Jan-03 2:11
rkpk1-Jan-03 2:11 
GeneralCHtmlView Pin
alex.barylski1-Jan-03 1:07
alex.barylski1-Jan-03 1:07 
GeneralKilling a modeless Dialog when it loses focus Pin
Florin Ochiana31-Dec-02 23:43
Florin Ochiana31-Dec-02 23:43 
GeneralRe: Killing a modeless Dialog when it loses focus Pin
Gary R. Wheeler1-Jan-03 3:51
Gary R. Wheeler1-Jan-03 3:51 

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.