[python-win32] ctypes and DLL

Marcus.CM marcus at internetnowasp.net
Thu Jul 24 07:21:20 CEST 2008


Hi

On Windows/Vista :-

  vr = ctypes.CDLL(str)   

When loading a DLL that is corrupted using cytpes,  i get a bombed out 
box with "python.exe - bad image" as the message box title instead of 
handling it at my exception handler.
How do i do this without the ugly messagebox from python ?

Marcus.CM.



More information about the python-win32 mailing list