Re: Registry Free Object Instantiation using DirectCOM & RC6
Also should mention that I added a GetOrCreateThreadHandler method:
Code:
Public Function GetOrCreateThreadHandler(ByVal p_DllFileNameOrPath As String, ByVal p_ClassName As String, Optional ByVal p_ThreadKey As String = vbNullString, Optional ByVal p_ThreadPriority As enmThreadPriority = THREAD_PRIORITY_NORMAL) As RC6.cThreadHandler
That is a one-liner convenience method for an getting existing thread handler object by key (if one exists for the given key), or creating a new thread handler object if not. If you don't specify a key, then a random key will be generated which is useful for "throw-away" threads that you don't need to share/reconnect to.
Enjoy :)