Wait, spoke a bit too soon. I noticed that you (Tim) apparently missed
a zero in your first method of building the bits (8 with 6 zeros
instead of 7), which generates only a 28bit number, not 32bits. (which
i blindly copy pasted at first...). when i try to make an actual 32bit
value, and then send
Is there anyway to create a sparse file win32 platform using python?
And out of interested what is the practical limit for pickling an
object? I used pickle.dump() on a 89MB object (a binary read from a
disk file) and although it worked, my PC was pretty unusable for the 8
minutes it took to pickl
Hello list,
maybe someone can help me. I am writing an application, which uses the
win32event.CreateEvent to create a synchronisation event which handle is
then stored in a PyHANDLE.
This handle is then submitted with DeviceIoControl to a Driver which
calls the Function ObReferenceObjectByHandle to
I cannot move or resize the PythonWin window.
Any suggestions please?
Thanks,
Richard
Python 2.4.1 installed from python-2.4.1.msi
Python Win32 Extension installed from pywin32-203.win32-py2.4.exe
I have Windows 98 SE
---
Dr Richard Dybowski
143 Village Way
Pinner HA5 5A
> Python:
> ReadEvent = CreateEvent ( None, 0, 0, None )
> ret = DeviceIoControl (hDevice, IOCTL_SET_READ_EVENT, str(ReadEvent),
> 0, None)
str(ReadEvent) would give you a string with something like ''.
It seems unlikely to me that this is your intention. Maybe
str(int(ReadEvent)) - this would ju
> as i understand it, then... PostMessage expects exactly 32bits... and
> my guess is that since python has no unsigned ints, a 32bit value
> needs more than 32bits, so python makes it a long, and then
> postmessage complains about longs because it expects an int-sized
> value.
PostMessage wants