Click here to Skip to main content
15,896,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to log the start up and shut down time of all the PCs connected in a lan to a file Pin
David Crow12-Oct-10 3:55
David Crow12-Oct-10 3:55 
QuestionCListbox is not refrashed Pin
aangerma11-Oct-10 21:56
aangerma11-Oct-10 21:56 
QuestionRe: CListbox is not refrashed Pin
David Crow12-Oct-10 3:58
David Crow12-Oct-10 3:58 
QuestionHow can identify Mouse Click event in PreTranslateMessage? Pin
Le@rner11-Oct-10 21:06
Le@rner11-Oct-10 21:06 
QuestionGDI drawing onto a 4-bit bitmap Pin
Code-o-mat11-Oct-10 10:53
Code-o-mat11-Oct-10 10:53 
QuestionDrop-down list in floating toolbar clipped to main window Pin
John Ritzenthaler11-Oct-10 7:31
John Ritzenthaler11-Oct-10 7:31 
QuestionFile List Pin
Jonnster11-Oct-10 6:14
Jonnster11-Oct-10 6:14 
AnswerRe: File List Pin
elchupathingy11-Oct-10 7:14
elchupathingy11-Oct-10 7:14 
QuestionProblem in Using CEdit box control. Pin
Le@rner11-Oct-10 2:33
Le@rner11-Oct-10 2:33 
AnswerRe: Problem in Using CEdit box control. Pin
bleedingfingers11-Oct-10 2:50
bleedingfingers11-Oct-10 2:50 
GeneralRe: Problem in Using CEdit box control. Pin
Le@rner11-Oct-10 2:51
Le@rner11-Oct-10 2:51 
GeneralRe: Problem in Using CEdit box control. Pin
bleedingfingers11-Oct-10 2:55
bleedingfingers11-Oct-10 2:55 
AnswerRe: Problem in Using CEdit box control. Pin
Cool_Dev11-Oct-10 3:12
Cool_Dev11-Oct-10 3:12 
AnswerRe: Problem in Using CEdit box control. Pin
David Crow11-Oct-10 4:13
David Crow11-Oct-10 4:13 
GeneralRe: Problem in Using CEdit box control. Pin
Le@rner11-Oct-10 18:19
Le@rner11-Oct-10 18:19 
GeneralRe: Problem in Using CEdit box control. Pin
David Crow12-Oct-10 3:32
David Crow12-Oct-10 3:32 
QuestionOne c++ project how to transmit it to WSDL Pin
yu-jian11-Oct-10 1:09
yu-jian11-Oct-10 1:09 
AnswerRe: One c++ project how to transmit it to WSDL Pin
Aisteru M.11-Oct-10 23:48
Aisteru M.11-Oct-10 23:48 
GeneralRe: One c++ project how to transmit it to WSDL Pin
yu-jian15-Oct-10 6:50
yu-jian15-Oct-10 6:50 
QuestionExcel Issue Pin
Pryabu10-Oct-10 23:53
Pryabu10-Oct-10 23:53 
AnswerRe: Excel Issue Pin
prasad_som11-Oct-10 0:35
prasad_som11-Oct-10 0:35 
QuestionRasSetCustomAuthData is writting corrupted data in rasphone.pbk Pin
birajendu10-Oct-10 22:04
birajendu10-Oct-10 22:04 
Hi,

I am using RasSetCustomAuthData API to set my custom auth info before calling RasDial API.

here is the code piece:


int nError = ::RasSetCustomAuthData(
myphonebook,
myphonebookentry,
(BYTE *)&myCustomAuthData, myCustomAuthData.dwSize );

Here value of myCustomAuthData.dwSize is 2708 . and the size of myCustomAuthData stracture is also 2708. but after calling this function is writting around 5k of data in the .pbk file.

After calling this RasSetCustomAuthdata() api the .pbk file is having entry some thing like this.


CustomAuthData=31444243FFFFFFFF940A0000940A000007000000A800000008000000430054000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CustomAuthData=000000000000000000000000000000000000000000000000000000000000000000000000
Birajendu
SonicWALL
Bangalore
India

Question64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
msr_codeproject10-Oct-10 18:55
msr_codeproject10-Oct-10 18:55 
AnswerRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
«_Superman_»10-Oct-10 19:02
professional«_Superman_»10-Oct-10 19:02 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
msr_codeproject10-Oct-10 19:30
msr_codeproject10-Oct-10 19:30 

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.