Click here to Skip to main content
15,886,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
«_Superman_»10-Oct-10 22:06
professional«_Superman_»10-Oct-10 22:06 
AnswerRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
Richard MacCutchan11-Oct-10 0:16
mveRichard MacCutchan11-Oct-10 0:16 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
msr_codeproject11-Oct-10 1:44
msr_codeproject11-Oct-10 1:44 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
Richard MacCutchan11-Oct-10 2:05
mveRichard MacCutchan11-Oct-10 2:05 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
Alain Rist11-Oct-10 4:07
Alain Rist11-Oct-10 4:07 
QuestionImplementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Vaclav_10-Oct-10 16:48
Vaclav_10-Oct-10 16:48 
AnswerRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Tim Craig10-Oct-10 17:23
Tim Craig10-Oct-10 17:23 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Vaclav_10-Oct-10 17:54
Vaclav_10-Oct-10 17:54 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Tim Craig10-Oct-10 22:06
Tim Craig10-Oct-10 22:06 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem [modified] Pin
Vaclav_11-Oct-10 2:57
Vaclav_11-Oct-10 2:57 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Tim Craig11-Oct-10 9:42
Tim Craig11-Oct-10 9:42 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Vaclav_11-Oct-10 12:45
Vaclav_11-Oct-10 12:45 
QuestionNot able to register a C++ service Pin
Aseem Sharma10-Oct-10 16:39
Aseem Sharma10-Oct-10 16:39 
AnswerRe: Not able to register a C++ service Pin
Aescleal10-Oct-10 22:34
Aescleal10-Oct-10 22:34 

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.