![]() ![]() ![]() An instance of CDummyModem is first created, then the modem model is identified and the appropriate class is constructed for that modem. ![]() Dialingįor dialing, there are two ways: either opening the "Huawei Connect - 3G Modem" port and issue a dial command, or letting RAS do the job for you. I took the easy way and used RAS to handle the dialing. There are a lot of articles that talk about RAS functions in details, so I will not go deep in this. To use CMyRas class, you will need to create an instance of CMyRas:Ĭopy Code if(!m_RAS.Initialize(m_pEventWnd))Ĭalling the Initialize function also retrieves a list of address book entries and their count.Īlso there are a lot of ready made classes that make using RAS functions easier but I thought of making my own. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |