Stian wrote:
> > What error do you get?  MSDN describes several different error returns.
> Actually I was wrong. The first error is "Handle is invalid". Then all
> following errors are "Access is denied.", which seems to be the same
> error I get when a console is already attached. But if this was the
> case - shouldn't it be fixed with the win32console.FreeConsole I
> always call before attaching?

Well, let me ask a silly question.  Are you running this from a "pyw"
app, using Pythonw.exe, so you don't have a console of your own?

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to