I am completely unskilled WRT python extensions, but was hoping that someone has either already made a python module for wtsapi32 or can help me in my pitiful attempts to do so.
My hope was to be able to use swig against the header file (WtsApi32.h) to generate the module, but the errors that pop up don't make a lot of sense to me the error says WtsApi32.h:376: Syntax error in input WtsApi32.h:737: Syntax error in input The strange thing is that the file only has 731 lines. I've seen errors indicate EOF+1 as location of the error when there is a missing brace or something, but this just seems odd. The other strange thing is that, this is the location in the file that the error corresponds to: ... 374: #ifdef UNICODE 375: #define WTSEnumerateServers WTSEnumerateServersW 376: #else 377: #define WTSEnumerateServers WTSEnumerateServersA 378: #endif even weirder, if I completely delete that block from the file, the error stays. My apologies if this is something I should take to the swig list, I'm just a little confused here. Thanks, Mark Roach _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython