Re: COM and Threads

2006-10-16 Thread Teja
wrote: > > >> > > > >> >> "Teja" <[EMAIL PROTECTED]> wrote: > > >> >> >I have an application which uses COM 's Dispatch to create a COM > > >> >> >based > > >> >> > object. Now I need

COM and threads

2006-10-16 Thread Teja
HI all, I have a problem in accesing COM objects in threads. To be precise, lets assume that I have a class GenericFunctions which is defined as follows: import win32com.client, pythoncom, thread ie=win32com.client.Dispatch('internetexplorer.application') ie.Visible=1 class GenericFunctions:

Re: COM and Threads

2006-10-13 Thread Teja
"Teja" <[EMAIL PROTECTED]> wrote: > >> >> >I have an application which uses COM 's Dispatch to create a COM based > >> >> > object. Now I need to upgrade the application to a threaded one. But > >> >> >

Re: COM and Threads

2006-10-13 Thread Roger Upole
>I have an application which uses COM 's Dispatch to create a COM based >> >> > object. Now I need to upgrade the application to a threaded one. But >> >> > its giving an error that COM and threads wont go together. Specifically >> >> > its an attribute

Re: COM and Threads

2006-10-12 Thread Teja
> object. Now I need to upgrade the application to a threaded one. But > >> > its giving an error that COM and threads wont go together. Specifically > >> > its an attribute error at the point where COM object is invoked. Any > >> > pointers

Re: COM and Threads

2006-10-12 Thread Roger Upole
"Teja" <[EMAIL PROTECTED]> wrote: > > Roger Upole wrote: > >> "Teja" <[EMAIL PROTECTED]> wrote: >> >I have an application which uses COM 's Dispatch to create a COM based >> > object. Now I need to upgrade the application to

Re: COM and Threads

2006-10-12 Thread Teja
hg wrote: > Teja wrote: > > hg wrote: > > > >> Teja wrote: > >>> I have an application which uses COM 's Dispatch to create a COM based > >>> object. Now I need to upgrade the application to a threaded one. But > >>> its gi

Re: COM and Threads

2006-10-12 Thread Teja
Roger Upole wrote: > "Teja" <[EMAIL PROTECTED]> wrote: > >I have an application which uses COM 's Dispatch to create a COM based > > object. Now I need to upgrade the application to a threaded one. But > > its giving an error that COM and threads

Re: COM and Threads

2006-10-12 Thread hg
Teja wrote: > hg wrote: > >> Teja wrote: >>> I have an application which uses COM 's Dispatch to create a COM based >>> object. Now I need to upgrade the application to a threaded one. But >>> its giving an error that COM and threads wont go together

Re: COM and Threads

2006-10-12 Thread Roger Upole
"Teja" <[EMAIL PROTECTED]> wrote: >I have an application which uses COM 's Dispatch to create a COM based > object. Now I need to upgrade the application to a threaded one. But > its giving an error that COM and threads wont go together. Specifically > its an a

Re: COM and Threads

2006-10-12 Thread Teja
hg wrote: > Teja wrote: > > I have an application which uses COM 's Dispatch to create a COM based > > object. Now I need to upgrade the application to a threaded one. But > > its giving an error that COM and threads wont go together. Specifically > > its an at

Re: COM and Threads

2006-10-12 Thread hg
Teja wrote: > I have an application which uses COM 's Dispatch to create a COM based > object. Now I need to upgrade the application to a threaded one. But > its giving an error that COM and threads wont go together. Specifically > its an attribute error at the point where COM

COM and Threads

2006-10-12 Thread Teja
I have an application which uses COM 's Dispatch to create a COM based object. Now I need to upgrade the application to a threaded one. But its giving an error that COM and threads wont go together. Specifically its an attribute error at the point where COM object is invoked. Any pointers p