I'm trying to figure out which scripting language would be best for me to use, and I have a few questions.
When MMF calls a function in an ActiveX control, does it call it immediately and wait for it to finish, run it at the end of the frame, or continue on, letting the application continue while the ActiveX function runs in the background? And is this different for when you call a function vs. when you use a function in an expression?
What does MMF do if an ActiveX control throws an error? Does internal error handling within the control influence this?
Does data from an ActiveX control persist when the frame changes?
I'm using Visual Basic 6 to make ActiveX controls for testing and I can't seem to expose any events to MMF. They show up in the expression editor but I can't get them to show up as conditions. Does anybody know how to make functions, properties or events show up as conditions? (I can work around it by using an expression that checks a function during each loop, but this seems like it would be pretty wasteful.)
Since I'm using VB6, any control would probably need the .dlls that VB uses. Where does MMF look for these? Can I get away with just putting them in the application directory or do I have to register them? (And if I have to register them, can Install Creator handle doing that in Vista?) Where does the .ocx itself have to go? Does it have to be registered or will it also work if it's just in the application directory? (I'm assuming the former, but I thought I'd ask the experts)
Were I to use the .Net script object instead, I have questions regarding it as well (for those who already know how to use it).
First and foremost, is it like the other .Net objects where you have to install the whole .Net architecture on the end user's machine or is it self-contained? If I do have to install it, what is the simplest and/or most reliable way to do that?
Under what circumstances does it hold it's data in memory (assuming they're global variables)? Does it keep it until the frame switches, until the program terminates, or only until the current function ends?
Lastly, Lua:
As with all the others, when does the Lua object hold and lose it's data?
Are there any good shareware or freeware debuggers for Lua, or can anybody give any other recommendations as to how I could write and test the scripts in an efficient way? (I've never used Lua in any serious way so I'm pretty much clueless)
If I do use the Lua extension, I don't need to install anything else, right?



Reply With Quote