RASdial on Win 98
Posted on 1998-11-30
1 .Using Windows 98 I want to use RASDIAL() in VC++5.0 to have my code connect to my ISP using my default Dial-Up Networking connectoid, the one that comes up when I launch my browser or Windows Messaging using Internet Mail.
2.I have implemented the RASdial sample code in the Microsoft platform SDK (RASBerry), but cannot retrieve the default login and password into RASDIALPARAMS. The member values for szUserName and szPassword are null. If I manually set them in the code, RASDIAL() works fine and authenticates with my ISP.
3. The MSDN on line documentation provides no additional info. Without having to prompt the user for this info, how can I use the info already stored in dial-up networking to connect without user intervention?