Solved

ShellExecute

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Delphi 10 Seattle Dataset Actions 5 71
Sending Gmail through Delphi 3 69
Simple Delphi Question 9 77
find a node in VST 2 46
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

15 Experts available now in Live!

Get 1:1 Help Now