1. Create a connection in Windows, and dial it with Windows to make sure the connection works.
  2. Dial that same connection in your application using DotRas to ensure what you're passing into the dialer works as you expect.
  3. Use the RasPhoneBook class to open the phonebook containing the connection in step 1 while debugging and write down all the settings that Windows used for your entry (this might take a while).
  4. Replicate the settings identified in step 3 to your code that creates your own custom entry.
  5. Dial that new connection created in step 4 from your application as you tried to do originally.

Last edited Aug 2, 2012 at 5:23 AM by jeff_winn, version 1


Ebrahim_rad Feb 24, 2014 at 11:46 AM 
thank you for your help.

But I still have problem.can u give an example of that?
thank you