Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Beta 2 Or Release Candidate Pin
Christian Graus27-Dec-01 14:54
protectorChristian Graus27-Dec-01 14:54 
GeneralBitwise operators, static cast and Position pointers Pin
27-Dec-01 6:26
suss27-Dec-01 6:26 
GeneralRe: Bitwise operators, static cast and Position pointers Pin
Michael Dunn27-Dec-01 7:10
sitebuilderMichael Dunn27-Dec-01 7:10 
GeneralRe: Bitwise operators, static cast and Position pointers Pin
27-Dec-01 7:40
suss27-Dec-01 7:40 
GeneralRe: Bitwise operators, static cast and Position pointers Pin
Tim Smith27-Dec-01 7:46
Tim Smith27-Dec-01 7:46 
GeneralRe: Bitwise operators, static cast and Position pointers Pin
27-Dec-01 12:19
suss27-Dec-01 12:19 
GeneralRAS...I don't get him! Pin
BlackSmith27-Dec-01 6:02
BlackSmith27-Dec-01 6:02 
GeneralRe: RAS...I don't get him! Pin
Masaaki Onishi27-Dec-01 7:02
Masaaki Onishi27-Dec-01 7:02 
Hello, the codegurus around the world.;)

I think that you asked the same question before.

I found this code for RasEnumEntries example to recreate the memeory size.
So, I'm not sure that this works?

if (dwRet == ERROR_BUFFER_TOO_SMALL)
{
    //buffer too small - realloc size in dwBuf
    if((lpRasEntry = (LPTASENTRYNAME)realloc(lpRasEntry, (UINT)dwBuf))
       != NULL)
       dwRet = RasEnumEntries(NULL, NULL, lpRasEntry, &dwBuf, &dwEntry);
    else
    {
       //handle error
    }
}


Please, don't send me your email about your questions directly.
Have a nice day!
Sonork - 100.10571:vcdeveloper Wink | ;)

-Masaaki Onishi-


GeneralRe: RAS...I don't get him! Pin
Joel Lucsy27-Dec-01 8:43
Joel Lucsy27-Dec-01 8:43 
GeneralRe: RAS...I don't get him! Pin
Rickard Andersson2027-Dec-01 8:57
Rickard Andersson2027-Dec-01 8:57 
GeneralIssues opening files Pin
Stew27-Dec-01 5:51
Stew27-Dec-01 5:51 
GeneralRe: Issues opening files Pin
Chris Meech27-Dec-01 9:29
Chris Meech27-Dec-01 9:29 
GeneralRe: Issues opening files Pin
Stew28-Dec-01 4:45
Stew28-Dec-01 4:45 
GeneralTurning on/off caps lock, num lock and scroll lock Pin
Nnamdi Onyeyiri27-Dec-01 5:34
Nnamdi Onyeyiri27-Dec-01 5:34 
GeneralRe: Turning on/off caps lock, num lock and scroll lock Pin
Chris Meech27-Dec-01 9:34
Chris Meech27-Dec-01 9:34 
GeneralRe: Turning on/off caps lock, num lock and scroll lock Pin
567890123430-Dec-01 1:46
567890123430-Dec-01 1:46 
QuestionModems-Connected or Not? Pin
BlackSmith27-Dec-01 1:46
BlackSmith27-Dec-01 1:46 
AnswerRe: Modems-Connected or Not? Pin
Nish Nishant27-Dec-01 1:58
sitebuilderNish Nishant27-Dec-01 1:58 
GeneralFile size in FTP server... Pin
27-Dec-01 1:22
suss27-Dec-01 1:22 
GeneralBeeep! Pin
Rickard Andersson2027-Dec-01 1:19
Rickard Andersson2027-Dec-01 1:19 
GeneralRe: Beeep! Pin
Nish Nishant27-Dec-01 1:23
sitebuilderNish Nishant27-Dec-01 1:23 
GeneralRe: Beeep! Pin
Rickard Andersson2027-Dec-01 1:44
Rickard Andersson2027-Dec-01 1:44 
GeneralRe: Beeep! Pin
Nish Nishant27-Dec-01 1:48
sitebuilderNish Nishant27-Dec-01 1:48 
GeneralRe: Beeep! Pin
Christian Graus27-Dec-01 14:56
protectorChristian Graus27-Dec-01 14:56 
GeneralRe: Beeep! Pin
Nish Nishant27-Dec-01 16:21
sitebuilderNish Nishant27-Dec-01 16:21 

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.