I have no problem with accessing command line arguments via the args() built-in array.
But I can call Google Maps, say, multiple times while it is running in the background and it gets fresh command line arguments (to interpret a different KML file) each time.
With a Basic4PPC program "X.exe" running in the background, performing a Shell("X.exe", "argument") in another program brings it to the foreground, but does not give it a fresh set of command line arguments.
How can I emulate whatever it is that Google Maps is doing?
Mike.
But I can call Google Maps, say, multiple times while it is running in the background and it gets fresh command line arguments (to interpret a different KML file) each time.
With a Basic4PPC program "X.exe" running in the background, performing a Shell("X.exe", "argument") in another program brings it to the foreground, but does not give it a fresh set of command line arguments.
How can I emulate whatever it is that Google Maps is doing?
Mike.