I've written a small gateway program which calls my main app if it can be found and returns a simple message (not available at this time) if it can't. That way when I need to hide the app the user's don't get the flashlight treatment which has some serious pitfalls.
It would be handy if I could change the default behavior of the gateway program simply by renaming the EXE file.
Is there any way that I can determine the name of an EXE file after it begins executing?
Peter Robinson
Peter Robinson ** Rodes Design ** Virginia