Click here to Skip to main content
15,921,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CArray and Memory Leaks Pin
Phil Hamer23-Apr-03 9:21
Phil Hamer23-Apr-03 9:21 
GeneralRe: CArray and Memory Leaks Pin
David Crow23-Apr-03 10:34
David Crow23-Apr-03 10:34 
GeneralShell open & working dir Pin
Paolo Vernazza23-Apr-03 1:57
Paolo Vernazza23-Apr-03 1:57 
GeneralRe: Shell open & working dir Pin
Rage23-Apr-03 4:00
professionalRage23-Apr-03 4:00 
GeneralRe: Shell open & working dir Pin
Paolo Vernazza23-Apr-03 4:32
Paolo Vernazza23-Apr-03 4:32 
GeneralRe: Shell open & working dir Pin
Rage23-Apr-03 20:54
professionalRage23-Apr-03 20:54 
GeneralRe: Shell open & working dir Pin
Paolo Vernazza23-Apr-03 22:58
Paolo Vernazza23-Apr-03 22:58 
GeneralRe: Shell open & working dir Pin
Rage23-Apr-03 23:05
professionalRage23-Apr-03 23:05 
In InitInstance() :
CString str=GetCommandLine();

In fact, m_lpCmdLine contains only the parameters. Check this in the MSDN for more info, i give you just the remark here :

Remarks:
ANSI console processes written in C can use the argc and argv arguments of the main function to access the command-line arguments. ANSI GUI applications can use the lpCmdLine parameter of the WinMain function to access the command-line string, excluding the program name. The reason that main and WinMain cannot return Unicode strings is that argc, argv, and lpCmdLine use the LPSTR data type for parameters, not the LPTSTR data type. The GetCommandLine function can be used to access Unicode strings, because it uses the LPTSTR data type.


~RaGE();
GeneralRe: Shell open & working dir Pin
Paolo Vernazza23-Apr-03 23:46
Paolo Vernazza23-Apr-03 23:46 
GeneralRe: Shell open & working dir Pin
David Crow23-Apr-03 8:11
David Crow23-Apr-03 8:11 
GeneralProblem in deleting a specific record in an array in C++ Pin
grscot23-Apr-03 1:53
grscot23-Apr-03 1:53 
GeneralRe: Problem in deleting a specific record in an array in C++ Pin
David Crow23-Apr-03 2:57
David Crow23-Apr-03 2:57 
GeneralRe: Problem in deleting a specific record in an array in C++ Pin
Rickard Andersson2023-Apr-03 3:03
Rickard Andersson2023-Apr-03 3:03 
GeneralRe: Problem in deleting a specific record in an array in C++ Pin
Cambalindo23-Apr-03 6:31
Cambalindo23-Apr-03 6:31 
GeneralRe: Problem in deleting a specific record in an array in C++ Pin
Cambalindo23-Apr-03 6:37
Cambalindo23-Apr-03 6:37 
GeneralWant to find sample codes used to send E-Mail. Pin
George223-Apr-03 1:53
George223-Apr-03 1:53 
GeneralRe: Want to find sample codes used to send E-Mail. Pin
imsniper23-Apr-03 4:12
imsniper23-Apr-03 4:12 
GeneralRe: Want to find sample codes used to send E-Mail. Pin
George224-Apr-03 0:18
George224-Apr-03 0:18 
Generalupdating a list control in a parent window Pin
si_6923-Apr-03 1:45
si_6923-Apr-03 1:45 
GeneralRe: updating a list control in a parent window Pin
Rage23-Apr-03 4:09
professionalRage23-Apr-03 4:09 
QuestionWhat function should i use for displaying movies on a screen? Pin
Redeemer-dk23-Apr-03 1:19
Redeemer-dk23-Apr-03 1:19 
AnswerRe: What function should i use for displaying movies on a screen? Pin
Rage23-Apr-03 4:04
professionalRage23-Apr-03 4:04 
GeneralRe: What function should i use for displaying movies on a screen? Pin
Redeemer-dk23-Apr-03 5:24
Redeemer-dk23-Apr-03 5:24 
GeneralLocating Function Address in PE file Pin
Nitin Shukla23-Apr-03 0:47
Nitin Shukla23-Apr-03 0:47 
GeneralRe: Locating Function Address in PE file Pin
basementman24-Apr-03 7:28
basementman24-Apr-03 7:28 

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.