Re: [python-win32] Re: Help on using win32api.SendMessage to send keystrokes

2005-04-02 Thread Daniel F
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

[python-win32] Sparse files and Pickle

2005-04-02 Thread Graeme Glass
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

[python-win32] Handle to a Driver

2005-04-02 Thread Chi Tai
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

[python-win32] Cannot move or resize the PythonWin window

2005-04-02 Thread Richard Dybowski
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

RE: [python-win32] Re: Help on using win32api.SendMessage to sendkeystrokes

2005-04-02 Thread Mark Hammond
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 a