Re: Multi-Threaded 'Get' Example (General questions)
Damba,
Thanks for the example...
In trying to use an array, this does not appear to work:
Dim WithEvents http1(3) As wodHttpDLXCom
Can you provide an example of using an array?
Also it seems with blocking on, each thread/instance will have to wait on the other to complete...
What is the implication of setting blocking off? I was wondering if it were possibily to use it asycnronously.
Greg
Greg,
It's simple as declaring two instances, something like this (VB6 syntax):
Dim withevents http1 as wodHttpDLXCom
Dim withevents http2 as wodHttpDLXComand initializing them using New statements:
Set http1 = new wodHttpDLXCom
Set http2 = new wodHttpDLXComOfcourse, you can also use an array to create multiple instances.
Hope this helps.
Regards,
Damba