[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

pchar to str?

Posted on 1999-12-23
1
Medium Priority
?
239 Views
Last Modified: 2010-04-06
i using the winexec command and i can't insert text from edit boxes, is there any way to insert string variebels.
0
Comment
Question by:saar071697
1 Comment
 

Accepted Solution

by:
Michael_Benjamin_Perez earned 200 total points
ID: 2303358
Yeah sure do an explicit cast to PChar like:

WinExec(PChar(Edit1.Text), 0);

Good luck

Michaël
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
Suggested Courses

640 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