Howto access a enumeration in a COM TypeLib

2005-06-21 Thread Alexander Eisenhuth
Hello alltogether, I hope somebody can help me in that case. I bet I have overseen s.th.. I have a VC++ IDispatch Com-Server (ATL) and include for error handling issues a enumeration in the IDL-File. [...] enum PROG_ERROR { P_OK = 0, P_ERR_01 = 1, P_ERR_02 = 2,

Re: Howto access a enumeration in a COM TypeLib

2005-06-21 Thread Konstantin Veretennicov
On 6/21/05, Alexander Eisenhuth [EMAIL PROTECTED] wrote: Hello alltogether, I hope somebody can help me in that case. I bet I have overseen s.th.. I have a VC++ IDispatch Com-Server (ATL) and include for error handling issues a enumeration in the IDL-File. [...] enum PROG_ERROR {

Re: Howto access a enumeration in a COM TypeLib

2005-06-21 Thread Alexander Eisenhuth
Thanks, thats it. Konstantin Veretennicov schrieb: import myserver print myserver.constants. P_OK 0 Maybe you can access constants without makepy, I don't know. - kv -- http://mail.python.org/mailman/listinfo/python-list