Click here to Skip to main content
15,913,758 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CTreeCtrl strange behaviour Pin
SandipG 23-Sep-08 2:41
SandipG 23-Sep-08 2:41 
QuestionProblem in getting hash values [modified] Pin
Aryan S23-Sep-08 2:22
Aryan S23-Sep-08 2:22 
QuestionMulticolumn CComboBox? Pin
bosfan23-Sep-08 1:37
bosfan23-Sep-08 1:37 
AnswerRe: Multicolumn CComboBox? Pin
Rajesh R Subramanian23-Sep-08 1:48
professionalRajesh R Subramanian23-Sep-08 1:48 
GeneralRe: Multicolumn CComboBox? Pin
bosfan23-Sep-08 2:03
bosfan23-Sep-08 2:03 
QuestionRasDial() howto Pin
eusto23-Sep-08 1:28
eusto23-Sep-08 1:28 
QuestionRe: RasDial() howto Pin
David Crow23-Sep-08 3:17
David Crow23-Sep-08 3:17 
AnswerRe: RasDial() howto Pin
eusto23-Sep-08 3:34
eusto23-Sep-08 3:34 
Yes, it is not returning. My whole computer dies.

The fix for me is to use the phone book feature of windows:

RASDIALPARAMS rdParams;
rdParams.dwSize = sizeof(RASDIALPARAMS);

//set the szEntryName to an already defined connection
lstrcpy(rdParams.szEntryName,strPredefinedConnectionName);
//not using these features because they're already defined in that connection
rdParams.szPhoneNumber[0] = 0;
rdParams.szPhoneNumber[0] = 0;
rdParams.szUserName[0] = 0;
rdParams.szPassword[0] = 0;
rdParams.szCallbackNumber[0] = '\0';
rdParams.szDomain[0] = '\0';

HRASCONN hRasConn = NULL;
dwRet = RasDial( NULL,
    "C:\\Documents and Settings\\"
        "All Users\\Application Data\\"
        "Microsoft\\Network\\Connections\\Pbk\\rasphone.pbk", //the system path to the phone book
        &rdParams,
        NULL,
        NULL,
        &hRasConn
        );


It's a bit frustrating that i can't use this to work with "on the fly" dialup connections. The windows blue screen really scares me Sigh | :sigh:
QuestionRe: RasDial() howto Pin
David Crow23-Sep-08 3:40
David Crow23-Sep-08 3:40 
AnswerRe: RasDial() howto Pin
eusto23-Sep-08 4:38
eusto23-Sep-08 4:38 
GeneralRe: RasDial() howto Pin
David Crow23-Sep-08 4:46
David Crow23-Sep-08 4:46 
GeneralRe: RasDial() howto Pin
eusto23-Sep-08 4:57
eusto23-Sep-08 4:57 
Questionchange Static text font size Pin
Dhiraj kumar Saini23-Sep-08 0:13
Dhiraj kumar Saini23-Sep-08 0:13 
AnswerRe: change Static text font size Pin
KarstenK23-Sep-08 0:28
mveKarstenK23-Sep-08 0:28 
Questionside by side configration error Pin
VCProgrammer22-Sep-08 23:55
VCProgrammer22-Sep-08 23:55 
AnswerRe: side by side configration error Pin
toxcct23-Sep-08 0:03
toxcct23-Sep-08 0:03 
GeneralRe: side by side configration error Pin
VCProgrammer23-Sep-08 0:07
VCProgrammer23-Sep-08 0:07 
GeneralRe: side by side configration error Pin
Rajesh R Subramanian23-Sep-08 0:08
professionalRajesh R Subramanian23-Sep-08 0:08 
GeneralRe: side by side configration error Pin
VCProgrammer23-Sep-08 0:14
VCProgrammer23-Sep-08 0:14 
GeneralRe: side by side configration error PinPopular
Rajesh R Subramanian23-Sep-08 0:18
professionalRajesh R Subramanian23-Sep-08 0:18 
AnswerRe: side by side configration error Pin
KarstenK23-Sep-08 2:33
mveKarstenK23-Sep-08 2:33 
QuestionVariable scoping and pointers Pin
Christian Flutcher22-Sep-08 23:42
Christian Flutcher22-Sep-08 23:42 
AnswerRe: Variable scoping and pointers Pin
Russell'22-Sep-08 23:50
Russell'22-Sep-08 23:50 
AnswerRe: Variable scoping and pointers Pin
Cedric Moonen22-Sep-08 23:50
Cedric Moonen22-Sep-08 23:50 
GeneralRe: Variable scoping and pointers Pin
Christian Flutcher22-Sep-08 23:58
Christian Flutcher22-Sep-08 23:58 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.