Re: How can I read a string of data sent from one program to call another?



Mike Barnard wrote:

I play online games, and I use a program called Xfire to find servers
I might want to join. After I make a choice Xfire calls the game,
sending a command line string with the info about what server to log
into, what player name to use, etc.

We are talking about executing a local exe with command line
parameters?

Then calling your app xfire.exe and calling the original client
from that should be the easiest option.

In your Delphi app, use Paramcount and Paramstr to get the
parameters passed to your app, and use ShellExecute or
CreateProcess to call the original client.

.



Relevant Pages

  • Re: Running other applications
    ... associated with a file type (extension). ... file and calling FindExecutable: ... ByVal lpDirectory As String, ByVal lpResult As String) As Long ... > The app is a program called Data Junction. ...
    (microsoft.public.vb.general.discussion)
  • Re: June 2005 EAL Question
    ... parameter to a string. ... > public class MyEventLogInstaller: Installer ... You have a web app, ... >>> at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean ...
    (microsoft.public.dotnet.general)
  • RE: SoapHttpClientProtocol request canceled
    ... the VB app on Citrix works fine with .NET components when only ... .NET1.1 is installed and the app uses .NET1.1. ... > The VB.NET exe and the VB6 exe both use VB.NET dll to sent request/response ... >> inputHeaderer, String messageControlPayload, string inputMessage) ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Multi language application
    ... the block below implies that you created your app as "Unicode app". ... Whether you choose UTF8 or UTF16 is really up to you but by default in a "Unicode app", you're likely to write less code with UTF16 strings. ... You can use::MultiByteToWideChar Win32 API to convert from UTF-8 to UTF-16, and pass the UTF-16 string to Windows controls. ...
    (microsoft.public.vc.mfc)
  • MAPISendMail Hangs
    ... Without breakpoint the app hangs forever on MAPISendMail. ... ByVal username As String, _ ... ByRef session As IntPtr) As Integer ... Private Structure MapiRecipient ...
    (microsoft.public.dotnet.framework.windowsforms)