Hi, I am trying to operate ABBYY FineReader 9 Automation.
I have tried win32com which I have used successfully before but it seems to fail on parameters of the type safeArrayOfImageNames I have been using PythonWin Object Browser to view the type library and it shows : NamedParams = 'safeArrayOfImageNames' I used: CO = comtypes.client.CreateObject( 'FineReader.Integration.9' ) which seemed to succeed then : CO.ConvertToPdf( SafeArray ) trying SafeArray being a list of string file names which gave: _ctypes.COMError: (-2147418113, 'Catastrophic failure', (None, None, None, 0, None)) I then Googled for SafeArrays and found a "thin safeArray" fragment that used comtypes I used that to set up a SafeArray which gave: ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: Cannot put <SafeArray.LP_SAFEARRAY object at 0x01E3E350> in VARIANT If anyone could point me in a promising direction I would be very grateful. Regards, Peter Bobroff ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users