Click here to Skip to main content
       

C / C++ / MFC

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Questionhow can i set modem speed when i create rasdial entry.memberdolpari7013 Nov '12 - 22:03 
Hi All.
I need to your help in blow questions..
 
I have to use internet over GPRS modem in windows xp and windows 7, so i have created a dial-up connection using Rasdial API
 
But i get some problems.
that is, when i creat Ras entry by RasSetEntryProperties api, the entry come up with the default maximum speed of 115200 (but i must use other baud rate, for example, 7200000) .
 
I can edit this manually in the modem settings, but dose anyone know the API's i can use to set it in code?
 
I don't want to modify registry about modem.
 
I have looked through the MDSN, but RasSetEntryProperties function dosen't do it, and it says, lpbDeviceInfo param is unused in Windows XP.
 
Are there any other solutions except modify registry before making ras entry?
 
Sorry for my bad english.
 
Regards.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid