Virtual Developer Workshop: Containerized Development with Docker
Environment: This code has been successfully tested under Windows 9x and Windows NT
CRasAbsLayCRasAbsLay is a simple class that encapsulates the functionality that you need from RAS to be able to create dialup connections in your Dialup connection folder. You cannot assume that all the machines have the RAS services available and you cannot link the RAS API library statically to your application, that's the reason why use the object CRas instead of calling the API directly.
Integrating the Code in Your Application
- Add RasAbsLay.cpp and RasAbsLay.h to your project
- If you are not already including afxtempl.h, add it to your stdafx.h file
- Call CreatePhoneBookEntry member to create your connection