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

C / C++ / MFC

 
GeneralRe: Custom Title bar & Menus Pin
Ajay L D14-Nov-06 18:15
Ajay L D14-Nov-06 18:15 
GeneralRe: Custom Title bar & Menus Pin
PJ Arends14-Nov-06 18:28
professionalPJ Arends14-Nov-06 18:28 
QuestionMFC Typeid creatable Class - Registration problem Pin
User 21559714-Nov-06 2:20
User 21559714-Nov-06 2:20 
QuestionHOw to disable particular key combination ? Pin
Kvaibhav14-Nov-06 2:12
Kvaibhav14-Nov-06 2:12 
AnswerRe: HOw to disable particular key combination ? Pin
PJ Arends14-Nov-06 5:29
professionalPJ Arends14-Nov-06 5:29 
AnswerRe: HOw to disable particular key combination ? Pin
Hamid_RT14-Nov-06 8:32
Hamid_RT14-Nov-06 8:32 
QuestionCreateProcess Pin
harsha_123414-Nov-06 1:35
harsha_123414-Nov-06 1:35 
AnswerRe: CreateProcess Pin
VonHagNDaz14-Nov-06 4:39
VonHagNDaz14-Nov-06 4:39 
Is there any limit on arguments or the size of buffer
that we are giving to CreateProcess as second parameter??

lpCommandLine
[in, out] Pointer to a null-terminated string that specifies the command line to execute. The maximum length of this string is 32K characters.
Windows 2000: The maximum length of this string is MAX_PATH characters.
The Unicode version of this function, CreateProcessW, will fail if this parameter is a const string.

The lpCommandLine parameter can be NULL. In that case, the function uses the string pointed to by lpApplicationName as the command line.

If both lpApplicationName and lpCommandLine are non-NULL, the null-terminated string pointed to by lpApplicationName specifies the module to execute, and the null-terminated string pointed to by lpCommandLine specifies the command line. The new process can use GetCommandLine to retrieve the entire command line. Console processes written in C can use the argc and argv arguments to parse the command line. Because argv[0] is the module name, C programmers generally repeat the module name as the first token in the command line.

If lpApplicationName is NULL, the first white-space – delimited token of the command line specifies the module name. If you are using a long file name that contains a space, use quoted strings to indicate where the file name ends and the arguments begin (see the explanation for the lpApplicationName parameter). If the file name does not contain an extension, .exe is appended. Therefore, if the file name extension is .com, this parameter must include the .com extension. If the file name ends in a period (.) with no extension, or if the file name contains a path, .exe is not appended. If the file name does not contain a directory path, the system searches for the executable file in the following sequence:

The directory from which the application loaded.
The current directory for the parent process.
The 32-bit Windows system directory. Use the GetSystemDirectory function to get the path of this directory.
Windows Me/98/95: The Windows system directory. Use the GetSystemDirectory function to get the path of this directory.
The 16-bit Windows system directory. There is no function that obtains the path of this directory, but it is searched. The name of this directory is System.
The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.
The directories that are listed in the PATH environment variable.
The system adds a null character to the command line string to separate the file name from the arguments. This divides the original string into two strings for internal processing.

I win because I have the most fun in life...

AnswerRe: CreateProcess Pin
Hamid_RT15-Nov-06 7:10
Hamid_RT15-Nov-06 7:10 
QuestionHow to catch ON_UPDATE_COMMAND_UI message in a non-mode dialog? Pin
amwwcwujqw_14-Nov-06 1:16
amwwcwujqw_14-Nov-06 1:16 
AnswerRe: How to catch ON_UPDATE_COMMAND_UI message in a non-mode dialog? Pin
Hamid_RT15-Nov-06 7:10
Hamid_RT15-Nov-06 7:10 
QuestionStatic Library and VB Access Pin
Andy20214-Nov-06 1:12
Andy20214-Nov-06 1:12 
AnswerRe: Static Library and VB Access Pin
Chris Losinger14-Nov-06 4:04
professionalChris Losinger14-Nov-06 4:04 
Questionstill on CFileDialog Pin
Desmo1613-Nov-06 23:48
Desmo1613-Nov-06 23:48 
AnswerRe: still on CFileDialog Pin
Cedric Moonen13-Nov-06 23:52
Cedric Moonen13-Nov-06 23:52 
AnswerRe: still on CFileDialog [modified] Pin
toxcct13-Nov-06 23:56
toxcct13-Nov-06 23:56 
GeneralRe: still on CFileDialog Pin
Rajesh R Subramanian14-Nov-06 0:00
professionalRajesh R Subramanian14-Nov-06 0:00 
GeneralRe: still on CFileDialog Pin
toxcct14-Nov-06 0:03
toxcct14-Nov-06 0:03 
GeneralRe: still on CFileDialog Pin
Desmo1614-Nov-06 0:02
Desmo1614-Nov-06 0:02 
GeneralRe: still on CFileDialog Pin
toxcct14-Nov-06 0:04
toxcct14-Nov-06 0:04 
AnswerRe: still on CFileDialog Pin
Hamid_RT15-Nov-06 7:05
Hamid_RT15-Nov-06 7:05 
Question[Message Deleted] Pin
Bagaturia david13-Nov-06 23:31
Bagaturia david13-Nov-06 23:31 
AnswerRe: Problem with pointer Pin
Nibu babu thomas13-Nov-06 23:50
Nibu babu thomas13-Nov-06 23:50 
AnswerRe: Problem with pointer [modified] Pin
Viorel.14-Nov-06 0:09
Viorel.14-Nov-06 0:09 
QuestionTransparent background in static text Pin
RadPC13-Nov-06 22:24
RadPC13-Nov-06 22:24 

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.