[python-win32] Regarding build of code using Visual Studio in python

2009-06-16 Thread a h
Hi all I have a C source code, i want to build it using Visual Studio without using its IDE. Actually i want to know that how do i write code/script in python so that it builds my source.c file and provides me source.obj and source.exe files. Thanx in advance. thnx regds ah

Re: [python-win32] Regarding build of code using Visual Studio in python

2009-06-16 Thread Tim Golden
a h wrote: I have a C source code, i want to build it using Visual Studio without using its IDE. Actually i want to know that how do i write code/script in python so that it builds my source.c file and provides me source.obj and source.exe files. If that's really all you want, you don't really

Re: [python-win32] Building msi with python 2.6.2

2009-06-16 Thread Mark Hammond
On 16/06/2009 12:40 PM, Roberto Aguilar wrote: Hello everyone, I've been able to successfully build a MSI of pywin32 under Python 2.6.2. But, when trying to use python, e.g. import win32api, after installing the MSI I get: ImportError: DLL load failed: The specified module could not be found.

Re: [python-win32] Regarding build of code using Visual Studio in python

2009-06-16 Thread Tim Roberts
a h wrote: I have a C source code, i want to build it using Visual Studio without using its IDE. Actually i want to know that how do i write code/script in python so that it builds my source.c file and provides me source.obj and source.exe files. As long as you have the environment variables

Re: [python-win32] win32file.CreateSymbolicLink and SYMLINK_FLAG_DIRECTORY

2009-06-16 Thread Tim Roberts
Devin Jeanpierre wrote: I'm new to pywin32 development, but wanted to toy with creating symlinks (and related new things) with a similar API to the current os module. The documentation in pywin32 states that the only flag is SYMLINK_FLAG_DIRECTORY (MSDN docs state that in the C++ API, the

Re: [python-win32] [Full-disclosure] WinAppDbg version 1.2 is out!

2009-06-16 Thread Mario Alejandro Vilas Jerez
Basically it's got some different features than PyDbg and a more complete documentation. If you have an *existing* project built upon PyDbg it's probably not worth switching (unless you've hit some very bad problem with it) but I believe it's better for newer projects, as this new library is more

Re: [python-win32] [Full-disclosure] WinAppDbg version 1.2 is out!

2009-06-16 Thread Jared DeMott
Mario Alejandro Vilas Jerez wrote: What is WinAppDbg? == The WinAppDbg python module allows developers to quickly code instrumentation scripts in Python under a Windows environment. Can you compare/contrast with pydbg so I can understand why I might want to give it a try?

Re: [python-win32] win32file.CreateSymbolicLink and SYMLINK_FLAG_DIRECTORY

2009-06-16 Thread Tim Roberts
Devin Jeanpierre wrote: Hmm. Does the API return anything in those cases? It returns None in all cases, so for now to cover that I check GetLastError, and if it's non-zero (0 being ERROR_SUCCESS, meaning there was no error-- another constant I don't know where to find), use