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

C / C++ / MFC

 
QuestionCImage Pin
messages8-Sep-06 3:56
messages8-Sep-06 3:56 
AnswerRe: CImage Pin
Christopher Stratmann8-Sep-06 4:17
Christopher Stratmann8-Sep-06 4:17 
GeneralRe: CImage Pin
messages8-Sep-06 4:27
messages8-Sep-06 4:27 
GeneralRe: CImage Pin
Christopher Stratmann8-Sep-06 5:54
Christopher Stratmann8-Sep-06 5:54 
QuestionNamed Pipes buffer problem (Win32) Pin
vga28-Sep-06 2:53
vga28-Sep-06 2:53 
AnswerRe: Named Pipes buffer problem (Win32) Pin
Richard Andrew x648-Sep-06 19:48
professionalRichard Andrew x648-Sep-06 19:48 
GeneralRe: Named Pipes buffer problem (Win32) Pin
vga210-Sep-06 22:36
vga210-Sep-06 22:36 
QuestionRPC Authentication won't work Pin
Mr.Brainley8-Sep-06 2:13
Mr.Brainley8-Sep-06 2:13 
On Server and Client side i create an SPN like this :

DsMakeSpn("ncacn_ip_tcp","some.valid.DNS",NULL,0,NULL,&pcSpnLength,pszSpn);

On the Server i register Authentication Information with

RpcServerRegisterAuthInfo((unsigned char*)pszSpn,RPC_C_AUTHN_GSS_KERBEROS,NULL,NULL);

and a Security Callback Dummy Function that just return RPC_S_OK.
On the Client side i call

RpcBindingSetAuthInfo(BindingHandle,(unsigned char*)pszSpn,RPC_C_AUTHN_LEVEL_CALL,
RPC_C_AUTHN_GSS_KERBEROS,NULL,
RPC_C_AUTHN_GSS_KERBEROS);

I Get "RPC Error 5 : Access Denied" from inside the client Stub-Function. This site

http://support.microsoft.com/?scid=kb%3Ben-us%3B838191&x=13&y=11

says, that the Error is incorrectly mapped and meight also be "Error 1717 : Interface Unknown". That doesnt help me either. So can anyone help me ?
I tried fetching Extended Error Information, but there doesn't seem to be any generated. When i deactivate Interface Restriction in the Group Policy Editor and leave all the Authentication
Stuff out, it works. But i don't want to go that way, it has to be possible.
AnswerRe: RPC Authentication won't work Pin
Programm3r8-Sep-06 2:20
Programm3r8-Sep-06 2:20 
GeneralRe: RPC Authentication won't work Pin
Mr.Brainley8-Sep-06 2:39
Mr.Brainley8-Sep-06 2:39 
GeneralRe: RPC Authentication won't work Pin
Programm3r8-Sep-06 2:43
Programm3r8-Sep-06 2:43 
Questionerror C2248: cannot access protected member declared in class 'CEmployee' Pin
jon-808-Sep-06 1:51
professionaljon-808-Sep-06 1:51 
AnswerRe: error C2248: cannot access protected member declared in class 'CEmployee' Pin
prasad_som8-Sep-06 2:04
prasad_som8-Sep-06 2:04 
AnswerRe: error C2248: cannot access protected member declared in class 'CEmployee' Pin
David Crow8-Sep-06 3:18
David Crow8-Sep-06 3:18 
AnswerRe: error C2248: cannot access protected member declared in class 'CEmployee' Pin
Zac Howland8-Sep-06 4:12
Zac Howland8-Sep-06 4:12 
QuestionShow character from number? [modified] Pin
bosfan8-Sep-06 1:39
bosfan8-Sep-06 1:39 
QuestionRe: Show character from number? [modified] Pin
prasad_som8-Sep-06 2:15
prasad_som8-Sep-06 2:15 
AnswerRe: Show character from number? Pin
bosfan8-Sep-06 3:53
bosfan8-Sep-06 3:53 
GeneralRe: Show character from number? Pin
prasad_som8-Sep-06 5:34
prasad_som8-Sep-06 5:34 
Questioncheckbox selection Pin
_tasleem8-Sep-06 1:05
_tasleem8-Sep-06 1:05 
AnswerRe: checkbox selection Pin
Hamid_RT8-Sep-06 1:11
Hamid_RT8-Sep-06 1:11 
GeneralRe: checkbox selection Pin
_tasleem8-Sep-06 1:28
_tasleem8-Sep-06 1:28 
AnswerRe: checkbox selection Pin
Rinu_Raj8-Sep-06 1:16
Rinu_Raj8-Sep-06 1:16 
QuestionRe: checkbox selection Pin
David Crow8-Sep-06 3:13
David Crow8-Sep-06 3:13 
QuestionFinding deleted virtual keywords Pin
manustone8-Sep-06 0:56
manustone8-Sep-06 0:56 

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.