Jon,

I haven't looked at your code, I'll try to later.

But, in the sysinfo.rex example, I ran into a somewhat similar problem.  In
our current implementation of OLEObject all usage of OLE has to be on the
same thread.

In the sysinfo.rex example in trunk, I implmented a mechanism to ensure all
OLE calls are made on the same thread.  This is similar to your SQL problem
in that the calls all have to be made on the thread that initializes COM.

The example is somewhat commented, it might help you to look at it.  In
particular, it works.  It might be easier to ask questions about why it
works than to ask questions about why some non-working procedure doesn't
work.

--
Mark Miesfeld
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to