Do you have lots of DLL's to load ? Is re-typing (or copying) LOAD DLL getting you down ? Do you wish for an easier life ?
Well, I can help with the first two points with the following code :
Each DLL that you want to load is seperated with a | symbol
The 'bank' that the DLL loads into is given straight after the filename, and is seperated with a , - thus :
loadDLL("Hello.DLL,1") - Will load the Hello.DLL into bank #1
loadDLL("Hello.DLL,1|Goodbye.DLL,2") - Will load the Hello.DLL into bank #1, and Goodbye.DLL into bank #2
A really big example is given here :
Dont try to run the example as is, as its set up for my system...
Later on I'll be modifying it so the same routine can remove the DLL's from memory.
It can also be modifed to load .X, meshes etc etc.