newbie - script works in PythonWin - fails from Python

Steven D'Aprano steve at REMOVETHIScyber.com.au
Fri Feb 3 12:00:53 EST 2006


On Fri, 03 Feb 2006 07:00:37 -0800, marcus.tettmar wrote:

> Hi,
> 
> This is all I get:
> 
> error 250477278

What is this line? That doesn't look like part of a Python traceback. I
suppose it is possible that the DLL is printing it before the exception is
raised. Or did you type it yourself?


> Traceback (most recent call last):
>   File "script1.py", line 5, in ?
>     Inst = lib.Initialize(0)
> WindowsError: exception code 0xeedfade
> 
> I get this when running python.exe script1.py

You're still making it as hard as possible for anyone to help you. Is it a
secret what DLL you are trying to call? What is "lib"?

Googling on 0xeedfade suggests that it is an internal Delphi error,
possibly an out-of-memory error. Are you calling a Delphi DLL? What does
that exception mean?


-- 
Steven.




More information about the Python-list mailing list