>>>>> "RMR" == Roach, Mark R <[EMAIL PROTECTED]> writes:
RMR> I don't think I understand. I don't have any project files, all I have RMR> is a header file for the microsoft terminal services api (wtsapi32) RMR> which I want to wrap in python, similar to the other win32 extensions: RMR> win32api etc. Am I missing a big step? Do I need MSVC? I was planning on RMR> just using my current mingw setup. I take it you're using gcc? It's been a while since I've needed to do this, but looking at the gcc man page, -E tells it to stop after preprocessing. Have a look, you may need to understand this all pretty thoroughly before you're done -- and there are lots of commands for the preprocessor that can help you sort this sort of problem out. You want to hack your compilation so the compilation stops after the preprocessing stage. If you're using a makefile, cut and paste the line from the makefile, as long as there aren't too many variable substitutions, and add -E before the filename; otherwise, run the makefile, capture the output, and modify it to add a -E flag, and run from the commandline. Looks like you also need to tell it where to save the file: -o outfilename Then you look at outfilename, and see if the linenumbers and the errors make more sense. -- Patricia J. Hawkins Hawkins Internet Applications, LLC _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
