|
-
May 23rd, 1999, 04:49 AM
#1
calling applications
my project has to call some apps like regedit, scandisk, defrag,...
calling regedit works fine:
_spawnl(_P_NOWAIT, "c:\\windows\\regedit.exe", NULL);
...but when I try the same code with "defrag.exe"
or "scandisk.exe" it doesn't work...
why?
is there another way to call apps?
please help me.
thanks in advance.
-
May 23rd, 1999, 10:22 AM
#2
Re: calling applications
Hi!
Try function ShellExecute(). See MSDN for details.
Dmitry Barashev.
-
May 26th, 1999, 09:39 AM
#3
Re: calling applications
You could also try the CreateProcess function.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|