MThreadVB - The easy way to multithread !

MThreadVB is a generic multithreader for VB - to which I have been making a few changes here and there.... But it seems that in one of my updates I had inadvertently referenced an independent DLL called VBConsole.Dll and had forgotten to remove it.  (This was done for testing and experimentation purposes)...I had also forgotten to remove an invalid object variable reference.... As a result, the update may not have worked.... I apologize for any inconvenience and those of you who had downloaded the buggy code can download the updated version now !  Plus this new update has quite a few more features (and took quite some time to add too !)

Fixes / Enhancements

1>The VBConsole.dll reference problem has been fixed....

2>Now defines a new property ObjectInThreadContext, that returns the reference to the parent object containing the multithreaded sub in context to the new thread

3>With this, you can now implement File I/O and show forms (though I do not very much recommend showing forms from multithreaded procedures), from multithreaded subs (The Form show bug was reported by Robin Lobel - Special thanks to him for doing so !)

4>Some users it seems are having problems showing forms within multithreaded procedures. Therefore I have updated the code to actually demonstrate how to actually show forms from multithreaded procedures....

5>A serious pointer dereferencing bug was causing problems when the multithreaded sub had a relatively big name. This has now been fixed !

Here is the link to the bug fixed code -

http://planet-source-code.com/vb/default.asp?lngCId=26900&lngWId=1 

Do not hesitate to mail be if you notice some bug or problem....

Please remember that many of the enhancements were made possible due to feedback from people at PSC.... Please continue to give your feedback regarding any problems in the functioning of MThreadVB

Note: If you consider this code worth your vote, please vote for the main page by clicking the link above... Or register it by clicking here !