Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 24 Aug 2007 01:20:04 -0700,    group: microsoft.public.win32.programmer.tools        back       


An EXE that does exactly the same job as ShellExecute   
Hi there,

Is there any exe file in window which launches programs exactly 
the same way ShellExecute() does?

I know "cmd.exe" works somewhat similar, but I'm not quite sure
if it works exactly the same way.

In short, I'm wondering if there is a program like this:

WinMain( ..., lpCmdLine, ... )
{
   return ShellExecute( ..., lpCmdLine, ... );
}

And yes, I am lazy enough to avoid writing even this simple program...
date: Fri, 24 Aug 2007 01:20:04 -0700   author:   beil

Re: An EXE that does exactly the same job as ShellExecute   
"beil"  wrote in message
news:50E8500C-5F15-4C4C-946F-99E56558C9C2@microsoft.com...
> Hi there,
>
> Is there any exe file in window which launches programs exactly
> the same way ShellExecute() does?
>
> I know "cmd.exe" works somewhat similar, but I'm not quite sure
> if it works exactly the same way.
>
> In short, I'm wondering if there is a program like this:
>
> WinMain( ..., lpCmdLine, ... )
> {
>    return ShellExecute( ..., lpCmdLine, ... );
> }
>
> And yes, I am lazy enough to avoid writing even this simple program...

    It's not likely that any easily available program does exactly that
because it is so simple that it isn't worthwhile.  There would likely be at
least some parsing of the command.

    If that's what you want, why can't you simply use CMD.exe?  The results
should be equivalent for most commands.

-- 

- Gary Chanson (Windows SDK MVP)
- Abolish Public Schools
date: Fri, 24 Aug 2007 10:28:24 -0400   author:   Gary Chanson

Re: An EXE that does exactly the same job as ShellExecute   
beil wrote:

> And yes, I am lazy enough to avoid writing even this simple program...

What ?!
You need exactly 1 second to write it and 2 seconds to compile it.
date: Fri, 24 Aug 2007 22:24:22 +0200   author:   jeremy

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us