[python-win32] win32ras.dial
Mark Hammond
mhammond at skippinet.com.au
Thu Jul 29 00:41:25 CEST 2004
> When trying the code below, the script initiate a call, but
> seem to close
> the connection right after. Does anybody have example code of using
> win32ras.dial?
I'm not sure if this is your problem, but a couple of test scripts I have
here do:
dial, have_pw = win32ras.GetEntryDialParams(None, rasEntryName)
rasHandle, errCode = win32ras.Dial(None, None, dial, None)
if win32ras.IsHandleValid(rasHandle):
# worked.
Check out win32\Demos\rastest.py - it makes and breaks connections.
Mark.
More information about the Python-win32
mailing list