Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetExtent -> SetExtent Pin
El'Cachubrey11-Jan-04 20:27
El'Cachubrey11-Jan-04 20:27 
GeneralHi Pin
Ruchit Sharma11-Jan-04 20:19
Ruchit Sharma11-Jan-04 20:19 
GeneralRe: Hi Pin
Michael Dunn11-Jan-04 21:02
sitebuilderMichael Dunn11-Jan-04 21:02 
GeneralSHBrowseForFolder Pin
murali_utr11-Jan-04 20:16
murali_utr11-Jan-04 20:16 
GeneralRe: SHBrowseForFolder Pin
Ryan Binns11-Jan-04 20:47
Ryan Binns11-Jan-04 20:47 
GeneralRe: SHBrowseForFolder Pin
murali_utr11-Jan-04 21:55
murali_utr11-Jan-04 21:55 
GeneralCreateProcess Pin
SiddharthAtw11-Jan-04 19:22
SiddharthAtw11-Jan-04 19:22 
GeneralRe: CreateProcess Pin
Jijo.Raj11-Jan-04 19:49
Jijo.Raj11-Jan-04 19:49 
1. The first parameter of the CreateProcess is the filename of the exe that you want to execute.

2. The second parameter is the commandline arguments (if any) that you wish to pass to the executable.

The createProcess wont search the whole system when you give a filename. It just execute the exe file that you specify by the first parameter.

if you need to run an executable that located somewhere in the system, use CFileFind class and its FindFile () and function to search the system for that file and then get the filepath using appropreate functions and then give it as the first argument of CreateProcess ().

Isn't it simple ? Wink | ;)

Regards,
Jijo.

________________________________

Yesterday is history,
Tomorrow is a mystery,
But today is a present.
GeneralRe: CreateProcess Pin
Selvam R11-Jan-04 19:52
professionalSelvam R11-Jan-04 19:52 
GeneralCOleServerDoc Pin
kevcs211-Jan-04 18:52
kevcs211-Jan-04 18:52 
GeneralOpenDocument Pin
kevcs211-Jan-04 18:41
kevcs211-Jan-04 18:41 
GeneralRe: OpenDocument Pin
Roger Allen11-Jan-04 23:58
Roger Allen11-Jan-04 23:58 
Generalload bitmapfile on dialog at runtime.. Pin
swarnamanoo11-Jan-04 18:22
swarnamanoo11-Jan-04 18:22 
GeneralRe: load bitmapfile on dialog at runtime.. Pin
Jijo.Raj11-Jan-04 18:45
Jijo.Raj11-Jan-04 18:45 
GeneralRe: load bitmapfile on dialog at runtime.. Pin
swarnamanoo11-Jan-04 20:08
swarnamanoo11-Jan-04 20:08 
GeneralRe: load bitmapfile on dialog at runtime.. Pin
Ryan Binns11-Jan-04 20:49
Ryan Binns11-Jan-04 20:49 
GeneralRe: load bitmapfile on dialog at runtime.. Pin
Jijo.Raj11-Jan-04 20:55
Jijo.Raj11-Jan-04 20:55 
GeneralRe: load bitmapfile on dialog at runtime.. Pin
swarnamanoo12-Jan-04 0:37
swarnamanoo12-Jan-04 0:37 
Generalclose window explorer by my application Pin
Member 80599911-Jan-04 16:48
Member 80599911-Jan-04 16:48 
GeneralRe: close window explorer by my application Pin
SiddharthAtw11-Jan-04 19:15
SiddharthAtw11-Jan-04 19:15 
GeneralRe: close window explorer by my application Pin
Jijo.Raj11-Jan-04 19:21
Jijo.Raj11-Jan-04 19:21 
Generalconverting from a string to an int/float using Win32 locale functions Pin
Jim Crafton11-Jan-04 14:49
Jim Crafton11-Jan-04 14:49 
GeneralRe: converting from a string to an int/float using Win32 locale functions Pin
bryce11-Jan-04 15:28
bryce11-Jan-04 15:28 
GeneralRe: converting from a string to an int/float using Win32 locale functions Pin
Christian Graus11-Jan-04 15:50
protectorChristian Graus11-Jan-04 15:50 
GeneralRe: converting from a string to an int/float using Win32 locale functions Pin
l a u r e n11-Jan-04 16:10
l a u r e n11-Jan-04 16:10 

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.