How to connect to a VPN from your app?

Hello! Help to decide where to dig.

Features:
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.
July 8th 19 at 16:32

Find more questions by tags VPN