Jan Dubois wrote:
On Fri, 12 Aug 2005, Veli-Pekka Tätilä wrote:
<snip>
The issue occurs hwen trying to use OLE together with threading.
Yes, that is a known issue.  Don't use Win32::OLE with threading,
it doesn't work.

Ok, good to know and thanks for a quick reply. Is this fact already mentioned in the docs? I must confess I haven't looked at the OLE docs too closely, I've learned most of what I've needed to know from OLE in the Gecko book and Visual Studio 6 OLE Viewer. The Gecko book says that Active State distroes should use OLE rather than Win32::OLE. Is this up to date info and will the OLE module work differently in terms of threading?

I reckon the problem lies with PErl in the end. Oddly enough I can use multi-threaded OLE servers somewhat. For instance speaking text through SAPI 5 asynchronously provided that I sleep some ms in Perl so that the SAPI thread has CPU time to speak up. If I try to do something heavy while the SAPI 5 thread is speaking, it seems to be starving mostly. I haven't experienced the same problem in C++ and Win32.

With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to