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

C / C++ / MFC

 
AnswerRe: How to use command line arguments in a win32 application? Pin
Cedric Moonen14-Jul-08 21:26
Cedric Moonen14-Jul-08 21:26 
GeneralRe: How to use command line arguments in a win32 application? Pin
Sauce!14-Jul-08 21:36
Sauce!14-Jul-08 21:36 
AnswerRe: How to use command line arguments in a win32 application? Pin
CPallini14-Jul-08 21:41
mveCPallini14-Jul-08 21:41 
GeneralRe: How to use command line arguments in a win32 application? Pin
Sauce!14-Jul-08 21:50
Sauce!14-Jul-08 21:50 
GeneralRe: How to use command line arguments in a win32 application? Pin
CPallini14-Jul-08 22:00
mveCPallini14-Jul-08 22:00 
GeneralRe: How to use command line arguments in a win32 application? Pin
Sauce!14-Jul-08 22:21
Sauce!14-Jul-08 22:21 
GeneralRe: How to use command line arguments in a win32 application? Pin
CPallini14-Jul-08 22:38
mveCPallini14-Jul-08 22:38 
GeneralRe: How to use command line arguments in a win32 application? Pin
Sauce!15-Jul-08 2:39
Sauce!15-Jul-08 2:39 
1) Huh, missed that one completely. Probably could have been avoided if I could find some better documentation on the exact data-type and format of lpCmdLine. Microsoft's documentation was pretty poor. Frown | :(

2) thanks, I was wondering why you subtracted 2 from iLen in your example. I thought to myself "yeah, it's technically correct, but you don't need to do it" (what a stupid thing to think!) I didn't even think about preventing buffer overrun.

3) I'm not sure what you're getting at here...
GeneralRe: How to use command line arguments in a win32 application? Pin
CPallini15-Jul-08 3:15
mveCPallini15-Jul-08 3:15 
GeneralRe: How to use command line arguments in a win32 application? Pin
Sauce!15-Jul-08 5:51
Sauce!15-Jul-08 5:51 
GeneralRe: How to use command line arguments in a win32 application? Pin
CPallini16-Jul-08 7:04
mveCPallini16-Jul-08 7:04 
AnswerRe: How to use command line arguments in a win32 application? Pin
David Crow15-Jul-08 3:21
David Crow15-Jul-08 3:21 
QuestionHow to verify that calling process has read access to the specified range of memory in vista Pin
V K 214-Jul-08 20:33
V K 214-Jul-08 20:33 
AnswerRe: How to verify that calling process has read access to the specified range of memory in vista PinPopular
Stephen Hewitt14-Jul-08 20:42
Stephen Hewitt14-Jul-08 20:42 
AnswerRe: How to verify that calling process has read access to the specified range of memory in vista Pin
Stephen Hewitt14-Jul-08 20:53
Stephen Hewitt14-Jul-08 20:53 
Questionfatal error: Cannot open type library file: 'msxml.dll' in Vista Pin
NiceNaidu14-Jul-08 19:48
NiceNaidu14-Jul-08 19:48 
AnswerRe: fatal error: Cannot open type library file: 'msxml.dll' in Vista Pin
Stephen Hewitt14-Jul-08 20:22
Stephen Hewitt14-Jul-08 20:22 
Questionenable DHCP using win32 API Pin
an8914-Jul-08 19:45
an8914-Jul-08 19:45 
AnswerRe: enable DHCP using win32 API Pin
Stephen Hewitt14-Jul-08 20:36
Stephen Hewitt14-Jul-08 20:36 
Question[Window Mobile Owner Draw] Pin
jjobluewind9714-Jul-08 19:39
jjobluewind9714-Jul-08 19:39 
Questionerror C2143: syntax error : missing '{' before ':' Pin
rp_suman14-Jul-08 18:11
rp_suman14-Jul-08 18:11 
AnswerRe: error C2143: syntax error : missing '{' before ':' Pin
ThatsAlok15-Jul-08 3:36
ThatsAlok15-Jul-08 3:36 
GeneralRe: error C2143: syntax error : missing '{' before ':' Pin
rp_suman15-Jul-08 4:18
rp_suman15-Jul-08 4:18 
QuestionRe: error C2143: syntax error : missing '{' before ':' Pin
rp_suman15-Jul-08 18:22
rp_suman15-Jul-08 18:22 
Questionerror C2061: syntax error : identifier 'BOOL' Pin
rp_suman14-Jul-08 17:39
rp_suman14-Jul-08 17:39 

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.