Hi, In relation to the problem I have been experiencing I froze the script I wrote (that accesses AutoCAD) and attempted to run that on the machine that is not working properly. It still doesn't work but I discovered something in doing so that may be of interest to this group.
It seems that if an application is frozen you have one of two choices: A) import the generated module yourself sometime before calling something like GetActiveObject() that will generate it for you B) accept the overhead of regenerating the generated modules Neither of those seems ideal. I tracked it down to the fact that imp.find_module() is being used which doesn't understand zip files and the reason imp.find_module() is being used is because an attempt is being made to find the file in which the module is located and performing a "stat" on the file to determine if it is newer than the type library in question. The assumption is that if the module is older than the type library it must be up to date. Could someone explain why the version alone is not sufficient to distinguish type libraries? Are there vendors that ship type libraries with the same major __AND__ minor version but the contents are different? On the fact of it that would seem ludicrous but perhaps I am simply betraying my ignorance here? Please advise. Thanks. Anthony ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users