Hi Mark,

many thanks for your valuable help.

>>> # numVars contains size of returned arrays.  Recast to access.
>>> varNamesArray = c.cast(varNames,c.POINTER(PCHAR * numVars.value))
>>> varTypesArray = c.cast(varTypes,c.POINTER(INT * numVars.value))

One last question: You created an object varNamesArray as an ctypes array. 
This object has a method "contents". How do I find out what other methods 
this objects has? For instance a method to retrieve the size of the array? 
Is this documented somewhere?

Best regards

Georg


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to