 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bill McMahon Guest
|
Posted: Mon Sep 12, 2005 11:26 pm Post subject: Strange CoClass behavior in thread |
|
|
I've been struggling w a large app trying to support late binding event
handling (ie scripting). So I created a very simple applet to
troubleshoot. The applet has two CoClasses, Foo & Bar TAutoObjects. Two
properties of Foo return a Bar instance. At startup Foo is created from
the main thread, then the first instance of Bar. Then the second
instance of Bar is created in a worker thread. Both threads, main &
worker, are intialized multithreaded & all autoobjects are free
threaded. Both Bar instances are accessable from within the app.
VBScript complains that the second instance of Bar, created in the
worker thread, is not an object.
I'm at a loss trying to explain the behavior.
Thanks
Bill
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|