by P3rv3rt B3ar on Thu Dec 04, 2008 3:15 am
function (actually method if we stick to OO-lingo) of same name is the way constructor is noted in c++ and sharp syntax. That is method which gets called whenever instance of the class (object) is created, just find out which is notation for constructor in your language of choige, if it even has OO-features (havent touch basic since 80s).
if i remember right in practise constructor gets called when plugin is loaded during the splash screen... remember thought if u plan to set a timer or do some heavy computation u better start a new thread otherwise ull be hogging and if i remember correctly blocking XL start up... note though if u want to access XL's files, u need to block til u r done with them or wait til XL is done with them otherwise ull end up with locking probs.
now if u want to wait to the exact moment XL starts... thats extremely hard... there are some tricks u can do but still timing will be sometimes blink of an eye off. I experiment with this quite a little while trying to hijack the splash.