Clemens,
Instead of doing the dialing yourself, I would use the functions from
the WinInet library to dial up an existing internet connection. Since it
seems that your app requires an internet connection, I think that it is safe
to say that one will be configured already on the machine.
I would use the InternetDial function in the WinInet library to
determine which internet connection to establish.
You could even use the InternetAutoDial function to use the default
connection that is set up.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Clemens Chiba - Greentube I.E.S. AG" <cc@greentube.com> wrote in message
news:3F***************@greentube.com...
Hi!
If the user has no LAN connection I have to dialup to the internet
in my application. This works fine, but in some case I'll have to
change the phone number (if the provider changes) and the additional
init string of the modem (for instance if the modem does not detect
the dial tone).
So, how do I do this?
I have not found the appropriate SDK functions (maybe I just use the
wrong search patterns in the help and in Google). Any hints?
Ciao and bye,
(:Clemens:)