1) VPN server PPTP
2) VPN server SSTP
3) Desire to write the app in DELPHI.
You need to:
SSTP or PPTP VPN client [which is simpler and faster in implementation] Win7/8/10 working bypassing the notebook %USER%\Application Data\Microsoft\Network\Connections\Pbk\rasphone.pbk so as not to burn the address and configure connection to the server to store connection settings in the bowels samopisnogo application.
Don't quite understand is it possible and how to do it on the RAS API?
Would be very grateful for a code example or some more simple solution to this issue.