Re: [python-win32] How Do You Make Your Speech or SAPI 5 Voices

2008-06-26 Thread FT
> But, the question of most importance is how to have my py2exe also > include the wrapper for installing a speech engine if none exist > on the destination computer. What you probably need is to create an installer for your py2exe project, using something like Inno, NSIS or WiX. This installer

Re: [python-win32] How Do You Make Your Speech or SAPI 5 Voices

2008-06-26 Thread Mark Hammond
> But, the question of most importance is how to have my py2exe also > include the wrapper for installing a speech engine if none exist > on the destination computer. What you probably need is to create an installer for your py2exe project, using something like Inno, NSIS or WiX. This installe

Re: [python-win32] How Do You Make Your Speech or SAPI 5 Voices

2008-06-26 Thread FT
From: Tony Cappellini Message: 1 Date: Thu, 26 Jun 2008 08:01:21 -0400 From: "FT" <[EMAIL PROTECTED]> Subject: [python-win32] How Do You Make Your Speech or SAPI 5 Voices Portable? To: This doesn't address your portability issue, but is provided as an FYI. Peter Parente already has a ni

Re: [python-win32] How Do You Make Your Speech or SAPI 5 Voices

2008-06-26 Thread Tony Cappellini
Message: 1 Date: Thu, 26 Jun 2008 08:01:21 -0400 From: "FT" <[EMAIL PROTECTED]> Subject: [python-win32] How Do You Make Your Speech or SAPI 5 Voices Portable? To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" This doesn't address your portability issue, bu

Re: [python-win32] How Do You Make Your Speech or SAPI 5Voices Portable?

2008-06-26 Thread Tim Roberts
FT wrote: Yes, I am new to this and that example is a good one, but I noticed that my computer did in fact have the dll, and was not loaded, so why? Well, py2exe had to be forced to loaded them into the directory from mine, thus my directory path is that path and was my example Hmmm, yes

Re: [python-win32] How Do You Make Your Speech or SAPI 5Voices Portable?

2008-06-26 Thread FT
FT wrote: > NOTE: > If you do make an executable you may also after compiling the Voice2.py snip > I am assuming that most of you probably have all the C dll's and such These DLLs should have been loaded on every Windows XP by Windows Update, so anyone with a recent system should

Re: [python-win32] How Do You Make Your Speech or SAPI 5 Voices Portable?

2008-06-26 Thread Tim Roberts
FT wrote: NOTE: If you do make an executable you may also after compiling the Voice2.py get an error if you do not have MSVcp71.dll, mfc71.dll, and gdiplus.dll copied into your setup.py file. In other words a copy command to copy the dll's from your system32 folder. For if you do not, some co

[python-win32] How Do You Make Your Speech or SAPI 5 Voices Portable?

2008-06-26 Thread FT
Hi! I am a visually impaired programmer and just joined the Win32 list to possibly learn how to make my own screen reader, thus have to learn the in's and out's of windows. I am sending, attached, a simple version of my voice package and 2 different test modules. Have not learned all the list

Re: [python-win32] FireEvent : comtypes work but win32com fails, why?

2008-06-26 Thread June Kim
What roundabouts would you recommend to make FireEvent work with pywin32 module? My clients are mostly installed with pywin32, and switching to comtypes is a risk now. 2008/6/26, Mark Hammond <[EMAIL PROTECTED]>: > > I do not know where you see the VT_VARIANT. > > > > Here is the IDL defn: > > >

Re: [python-win32] Embedded Python and multithreading

2008-06-26 Thread Mark Hammond
> PyThreadState* tcur = PyThreadState_Get() ; > > PyThreadState_Swap(NULL); > PyThreadState_Clear(tcur); > PyThreadState_Delete(tcur); > > // release the GIL as PyEval_InitThreads > // implicitly acquires the GIL > PyEval_ReleaseLock(); > > PyGILSt