Solved

ShellExecute

Posted on 1998-02-25
1
391 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 10 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Thread safe  opinion 7 126
Path  to current project in Delphi. 2 72
Print Graphic and Text to Epson TM-T88v 12 176
Tviruailstringtree sort multi columns on header click 1 52
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

912 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now