*/
Written some cool source code? Upload it to Programmer's Heaven.
*/

View \FILEID~1.TXT

Example of Shelling to a Windows Program

Submitted By: Unknown
Rating: (Not rated) (Rate It)


MODUS is a small example of a program that uses the following API:


'****************************************************************************
' Windows systems directory and Windows Directory Declarations (API)
'****************************************************************************
        GetSystemDirectory
        GetWindowsDirectory
'****************************************************************************' GetModuleUsage Declaration to see when the shelled process has terminated
'****************************************************************************
        GetModuleUsage

The dclare statements are in the form.  The program is commented as best I can - being self taught sometimes has its draw backs - I can't always explain what I do - so doing these examples programs helps me.

My contact details are in the program messagebox displayed when exiting.

GoodLuck and enjoy.

Darrin Edwards
Innovative Solutions (Australia)

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.