Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ShellExecute

Posted on 1998-02-25
1
Medium Priority
?
436 Views
Last Modified: 2010-04-06
I need to run an app. from within my app. I've done this
in MSVC++ with ShellExecute, but when I try it in Delphi,
it says that it's not recognised, but I have included
WinProcs and WinTypes. Why doesn't it work? Is there
another way to do it?
0
Comment
Question by:NikWhit
1 Comment
 

Accepted Solution

by:
Marcelito earned 30 total points
ID: 1359793
Try with

WinExec(LPCSTR  lpszCmdLine,// address of command line
        UINT  fuCmdShow// window style for new application);

It work properly.

Good Luck!!!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question