469,352 Members | 1,697 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

add further args to win32com.client.Dispatch?

hi,

this is my first foray into the mysteries of COM and dlls, so please
humour me.

I have been provided with a dll interface for a connection to a web-server.
The documentation provided is clear that the dll requires the server
config file to be in same folder as the dll.

I know the dll is installed and registered properly, as is the server
config file, because the test gui provided works as expected, and fails
as expected when the server config file is moved elsewhere.

However, when I try in the relevant directory with
from win32com.client import Dispatch
obj = Dispatch('PAVI.IPAV')


I get a gui dialog message of
"Error: No server configured."

The desired methods within the dll are subsequently available, but
without a working server connection they are useless.

I know this may be a long-shot, is there some way to specify the config
file as an additional argument to win32com.client.Dispatch or friends?

Otherwise what further options should I look into?

many thanks,
Selwyn
Jul 18 '05 #1
0 1186

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by RJ | last post: by
reply views Thread by Paul McGuire | last post: by
1 post views Thread by Patrick | last post: by
4 posts views Thread by mirandacascade | last post: by
2 posts views Thread by Ray | last post: by
4 posts views Thread by sterling | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.