(int, string) = FindExecutable(filename, dir )
Retrieves the name and handle of the executable (.EXE) file associated with the specified filename.
CommentsThe function will raise an exception if it fails.
Win32 API References
Return ValueThe return value is a tuple of (integer, string)
The integer is the instance handle of the executable file associated with the specified filename. (This handle could also be the handle of a dynamic data exchange [DDE] server application.)
The may contain the path to the DDE server started if no server responds to a request to initiate a DDE conversation.