[python-win32] error

Tim Roberts timr at probo.com
Thu Feb 21 19:49:03 CET 2008

Sagar Khushalani wrote:
> one of the few places that actually has help with that. I tried to 
> implement it but for some reason it didnt work. I even tried just the 
> Example #1, and even that didnt work. I have attached the error in the 
> text file.I know its a long error, but I can't find any decent 
> documentation on win32com and MSMQs. This is the same error I get when 
> I tried my own program. In the main file, I put this:
>     queueinfo = win32com.client.Dispatch("MSMQ.MSMQQueueInfo")
>     queueinfo.PathName = ".\\private$\ErrorQueue"

That string does not say what you think it says.

You need either:
    queueinfo.PathName = ".\\\\private$\\ErrorQueue"
    queueinfo.PathName = r".\\private$\ErrorQueue"

Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

More information about the python-win32 mailing list