Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. FlatWhatson

    Windows API WinExec troubles ...

    OK, I've got it working now with ShellExecute. Just had to find a webpage that has the syntax! The place that I found the syntax on was http://www.codebake.com/windowsexec.php if anyone's interested.
  2. FlatWhatson

    Windows API WinExec troubles ...

    If I just use the PAnsiChar variable instead of the string variable Delphi just complains that 'String' and 'PAnsiChar' are incompatible types. The conversion from string to PAnsiChar needs to happen as far as I know, beleive me.
  3. FlatWhatson

    Windows API WinExec troubles ...

    Could somebody please tell me why this code works: WinExec('ping [ipaddress]', SW_SHOW); Where [ipaddress] is an IP address (obviously!). But when i use a 'PAnsiChar' string-like variable (PAnsiChar is the type that it wants you to use when using the WinExec command) constructed with text...

Part and Inventory Search

Back
Top