MFC Commandline....
-
Silly question, had a lok in the MSDN but could not find any thing that satisfied my curiosity, how long can a command line be? I´m asking because I am passing a path to a file,plus an SQL query to an external process (using create process), so can I expect any problems regarding a very long SQL query... Thanks in advance Phil bum... and I thought I´d got rid of all the bugs :(
-
Silly question, had a lok in the MSDN but could not find any thing that satisfied my curiosity, how long can a command line be? I´m asking because I am passing a path to a file,plus an SQL query to an external process (using create process), so can I expect any problems regarding a very long SQL query... Thanks in advance Phil bum... and I thought I´d got rid of all the bugs :(
from stdlib.h on VS.NET /* * Sizes for buffers used by the _makepath() and _splitpath() functions. * note that the sizes include space for 0-terminator */ #define _MAX_PATH 260 /* max. length of full pathname */ #define _MAX_DRIVE 3 /* max. length of drive component */ #define _MAX_DIR 256 /* max. length of path component */ #define _MAX_FNAME 256 /* max. length of file name component */ #define _MAX_EXT 256 /* max. length of extension component */ Hope these help Regards Abhishake Lahare
-
Silly question, had a lok in the MSDN but could not find any thing that satisfied my curiosity, how long can a command line be? I´m asking because I am passing a path to a file,plus an SQL query to an external process (using create process), so can I expect any problems regarding a very long SQL query... Thanks in advance Phil bum... and I thought I´d got rid of all the bugs :(
The maximum command line length for the CreateProcess function is 32767 characters More Info here (Old New thing blog)[^]
**You know you're obsessed with computer graphics when you're outside and you look up at the trees and think, "Wow! That's spectacular resolution!"
Only kings, presidents, editors, and people with tapeworms have the right to use the editorial "we."**
-
The maximum command line length for the CreateProcess function is 32767 characters More Info here (Old New thing blog)[^]
**You know you're obsessed with computer graphics when you're outside and you look up at the trees and think, "Wow! That's spectacular resolution!"
Only kings, presidents, editors, and people with tapeworms have the right to use the editorial "we."**
Tanks monty, with that mayn characters, I think I´m on the safe side :-D bum... and I thought I´d got rid of all the bugs :(