Can i call a function from an exe

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
rraghul
Newbie
Posts: 10
Joined: Tue May 12, 2009 9:13 am

Can i call a function from an exe

Post by rraghul » Wed May 13, 2009 11:34 am

Can i call a function that is written within an executable file(exe) from macro script or vbscript.
If any one can provide an idea, please help

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed May 13, 2009 11:50 am

No. You can only call functions within DLLs. This is true for any programming language.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed May 13, 2009 12:57 pm

Based on your DLL question, I would be predisposed to answer NO as Marcus has. But on the off chance that this is actually a different type of question:

You can use Macro Scheduler to call the functions from an executable the same way you would if you were using the functions manually. Macro Scheduler can run an executable then process whatever keystrokes or mouse activity that's required to use the executable's functions. Also if the executable functions are available from a command line, Macro Scheduler can run the executable with its command line parameters.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts