EnsureDispatch will not generate in frozen applications. You can
specify 'typelibs' in the py2exe options dict. The format is the same as
passed to EnsureModule and printed by "makepy -i" eg, to include the
MSOffice typelib you could say:
py2exe_options = {
'typelibs':
[
('{
> How feasible is it to write programs like the supplied example in pure
> python, ideally without resorting to ctypes? (ctypes is bloody useful
> but if I'm going to that amount of trouble I could just write plain C)
It should be quite feasable. Obviously a few things would need to be done
diffe
On 5/25/05, yuan ye <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> If you have ever used UltraEdit, you will know that it
> can convert encoding from Unix/Mac to Dos. Does
> anybody know how I can do it in Python without the
> help of UltraEdit? For example, to convert the
> encoding from Unix/Mac
> The internal "message loop" is built into win32gui in PumpMessages() -
> internally we do that Get/Translate/Dispatch dance, and delegate the message
> itself to a Python function via the Python "message map". For completeness
> though I have just added GetMessage() - but it should only be used
Hi,
I have an application that has an embedded interpreter. This application
loads many
DLL's and passes a PyObject * to each DLL that was gotten from the
following call:
PyObject * pmod = PyImport_AddModule("__main__") ;
Later, in one of the many DLL's that interact with the embedded
inte
In the attached .py test, I start an external program that provides data
access via DDE.
create a server
do a number of CreateConversation-s, one for each channel
make connections
do lots of .Request on the connections
I tried just one channel, one connection, still 16378, so it seems to be
the t
On Wed, 25 May 2005 21:15:42 +0800 (CST), yuan ye
<[EMAIL PROTECTED]> wrote:
>Hello everyone,
>If you have ever used UltraEdit, you will know that it
>can convert encoding from Unix/Mac to Dos. Does
>anybody know how I can do it in Python without the
>help of UltraEdit? For example, to convert th
I can
see no obvious leaks in the dde code. It is possible the problem is at the
"other end" of the conversation? If it possible to create a repro case
using Python code at both ends?
Mark
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On
Behalf Of Ray
>> The internal "message loop" is built into win32gui in PumpMessages() -
>> internally we do that Get/Translate/Dispatch dance, and delegate the message
>> itself to a Python function via the Python "message map". For completeness
>> though I have just added GetMessage() - but it should only be u
Hi Mark,
I'll try a version calling Excel via DDE as time permits.
It's not a show stopper, I just have to be careful.
Thanks,
Ray
At 04:16 PM 5/26/2005, Mark Hammond wrote:
I can see no obvious leaks in
the dde code. It is possible the problem is at the "other
end" of the conversation? If it
10 matches
Mail list logo