Re: [python-win32] manipulating service action restart behavior?

2011-08-10 Thread Howard Lightstone
On Wed, Aug 10, 2011 at 1:54 PM, Andrew Hammond < andrew.george.hamm...@gmail.com> wrote: > Bingo! Thanks very much!!! > > A > > > On Wed, Aug 10, 2011 at 12:54 PM, Howard Lightstone < > how...@eegsoftware.com> wrote: > >> Maybe because sfa_keys t

Re: [python-win32] Getting PyWin32 working with private Python installs

2010-04-20 Thread Howard Lightstone
On Tue, Apr 20, 2010 at 10:14 AM, Bill Janssen wrote: > Howard Lightstone wrote: > > > I've had a private Python25 install running with win32 for a while. I > > believe the trick is that the pythoncom25.dll and pywintypes25.dll have > to > > be in the SAME f

Re: [python-win32] Getting PyWin32 working with private Python installs

2010-04-20 Thread Howard Lightstone
hen you have time to look at it. Just to recap: > > I'm trying to create an MSI installer for UpLib on Windows that will > include both a private copy of Python and an as-private-as-possible copy > of PyWin32. Right now, if I install Python privately ("just for me", and > no

Re: [python-win32] Embedded Python & win32api

2008-06-21 Thread Howard Lightstone
> > I'm getting crasy about embedding python-win32 in a c++ application. --snip-- I had the same issue. Here is the sequence I evolved from both 2.2 and 2.5 implementations (and working in production code although this code IS just at part of the stuff): // some tables I use char *plines[]= {

Re: [python-win32] VS.NET2005

2007-09-25 Thread Howard Lightstone
I have been a little remiss in reporting bugs but I DID have to modify 12 or 13 files to in order to build pywin32 using VS2005 (along with a change to the distutils msvccompiler.py module). I built from a 210 base but I suppose I really ought to make sure the changes make it into the next "sta

Re: [python-win32] C++ problem (was rebuilding 210 with VC8 woes)

2007-01-25 Thread Howard Lightstone
"Howard Lightstone" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > While trying to rebuild pywin32 using VC8 (after a couple of distutils > patches...), I have reached my C++ limit. I got all the way to > building pythonwin and ... > > > I am g

[python-win32] rebuilding 210 with VC8 woes

2007-01-23 Thread Howard Lightstone
While trying to rebuild pywin32 using VC8 (after a couple of distutils patches...), I have reached my C++ limit. I got all the way to building pythonwin and ... I am getting an error as follows: d:\python25\pywin32-210\pythonwin\win32uiExt.h(393) : error C2653: 'ThisClass' : is not a class o

[python-win32] Building with VC8

2007-01-18 Thread Howard Lightstone
I tried building with Visual Studio 2005 (which uses the VC8 compiler line) and distutils reports that it cannot find a compiler. Where should I go to find a solution for this? Is this better posted to the distutils list (although this is just a Windows issue)? __

[python-win32] building tkinter under VC8

2007-01-11 Thread Howard Lightstone
I am having trouble rebuilding tkinter for 2.5 under Microsft VC8. The current issue is that TIX won't build under VC8. Has anyone solved this issue yet? The TCL and TK versions 8.4.14 have already been updated to build with VC8 but not TIX. So I was able to build them following the same m

Re: [python-win32] List of drives / removable drives

2006-12-20 Thread Howard Lightstone
(drname) if t == win32file.DRIVE_REMOVABLE: Or whatever DRIVE_* defined values there are in win32file DRIVE_CDROM DRIVE_FIXED DRIVE_NO_ROOT_DIR DRIVE_RAMDISK DRIVE_REMOTE DRIVE_REMOVABLE DRIVE_UNKNOWN -- Howard Lightstone www.eegsoftware.com [EMAIL PROTECTED] ___

Re: [python-win32] We cannot import win32api into the Poser6 Python.

2006-10-19 Thread Howard Lightstone
the DLL (or finds the wrong DLL). The fix (such as it is): put a copy of your pythoncom22.dll and pywintypes22.dll in the "current directory" where your application is trying to run from. That will be the first-chance for windows to find the correct DLL. Tested on XP-PRO, HP system, in