Click here to Skip to main content
15,916,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow relieable is _CrtDumpMemoryLeaks() ? Pin
Mr.Brainley10-Nov-06 0:11
Mr.Brainley10-Nov-06 0:11 
AnswerRe: How relieable is _CrtDumpMemoryLeaks() ? Pin
Chris Losinger10-Nov-06 4:34
professionalChris Losinger10-Nov-06 4:34 
QuestionAbout Web Installer Pin
Ishani Bose9-Nov-06 23:49
Ishani Bose9-Nov-06 23:49 
Questionwin service - sockett events not fired Pin
snxxxxt9-Nov-06 23:47
snxxxxt9-Nov-06 23:47 
AnswerRe: win service - sockett events not fired Pin
Mark Salsbery10-Nov-06 5:02
Mark Salsbery10-Nov-06 5:02 
Questionadd the button on internet explorer [modified] Pin
johnalek9-Nov-06 23:24
johnalek9-Nov-06 23:24 
AnswerRe: add the button on internet explorer Pin
prasad_som10-Nov-06 0:38
prasad_som10-Nov-06 0:38 
QuestionInitializeSecurityContext fail on win98 with SEC_E_UNSUPPORTED_FUNCTION Pin
Kom29-Nov-06 22:46
Kom29-Nov-06 22:46 
I have a problem with authentication on ISA server proxy. I use NTLM protocol and my code works fine on winXP client, but it is not working on win98. It fails very early when I'm trying to get NTLM Negotiate string. InitializeSecurityContext returns 0x80090302 (SEC_E_UNSUPPORTED_FUNCTION)
Client operating system is windows 98SE with IE 6.0 SP1. I read somewhere, that InitializeSecurityContext can fail if DCOM98.exe is not installed. So I't not the case. I tried to install it but with no success. IE is working fine through the proxy, so it must be problem in my program.
Can somebody help please?

Here is fragment of code:

maj_stat = AcquireCredentialsHandle(
                                   NULL,                   // NULL = current user,
                                   PackageName,                 // package name = NTLM
                                   SECPKG_CRED_OUTBOUND,
                                   NULL,                       // no logon id
                                   authIdent,                  // no auth data
                                   NULL,                       // no get key fn
                                   NULL,                       // noget key arg
                                   &cred_handle,
                                   &expiry
                                   );
if (maj_stat != SEC_E_OK) {
   ErrorFunctionCallFailed(L"AcquireCredentialsHandle",L"VmProxyClient::GetNegotiationData",maj_stat);
}

outDesc.cBuffers = 1;
outDesc.pBuffers = &secBuff;
outDesc.ulVersion = SECBUFFER_VERSION;

secBuff.BufferType = SECBUFFER_TOKEN;
secBuff.cbBuffer = 0;
secBuff.pvBuffer = NULL;

maj_stat = InitializeSecurityContext(
                            &cred_handle,
                            NULL,                     // NULL for the first time, gss_context
                            NULL,                     // TargetName
                            ISC_REQ_ALLOCATE_MEMORY,
                            0,                        // reserved
                            SECURITY_NATIVE_DREP,
                            NULL,
                            0,                        // reserved
                            &gss_context,
                            &outDesc,
                            &ret_flags,
                            &expiry
                            );

QuestionClass BasicExcel Pin
Andy2029-Nov-06 22:43
Andy2029-Nov-06 22:43 
Questionhandling keyboard keys Pin
Sunshine Always9-Nov-06 22:40
Sunshine Always9-Nov-06 22:40 
AnswerRe: handling keyboard keys Pin
Rajesh R Subramanian9-Nov-06 23:52
professionalRajesh R Subramanian9-Nov-06 23:52 
QuestionHow to remove unused resource IDs ? Pin
albuemil9-Nov-06 22:26
albuemil9-Nov-06 22:26 
AnswerRe: How to remove unused resource IDs ? Pin
prasad_som9-Nov-06 22:45
prasad_som9-Nov-06 22:45 
GeneralRe: How to remove unused resource IDs ? Pin
albuemil9-Nov-06 23:50
albuemil9-Nov-06 23:50 
QuestionUSB communication Pin
harsha_12349-Nov-06 22:20
harsha_12349-Nov-06 22:20 
AnswerRe: USB communication Pin
Rajesh R Subramanian9-Nov-06 23:55
professionalRajesh R Subramanian9-Nov-06 23:55 
QuestionHow to Highlight last selected string in Combo box? Pin
Shah Satish9-Nov-06 21:52
Shah Satish9-Nov-06 21:52 
AnswerRe: How to Highlight last selected string in Combo box? Pin
dharani9-Nov-06 21:56
dharani9-Nov-06 21:56 
GeneralRe: How to Highlight last selected string in Combo box? Pin
Shah Satish9-Nov-06 22:06
Shah Satish9-Nov-06 22:06 
GeneralRe: How to Highlight last selected string in Combo box? Pin
dharani9-Nov-06 22:21
dharani9-Nov-06 22:21 
GeneralRe: How to Highlight last selected string in Combo box? Pin
Shah Satish9-Nov-06 22:31
Shah Satish9-Nov-06 22:31 
GeneralRe: How to Highlight last selected string in Combo box? Pin
dharani9-Nov-06 23:00
dharani9-Nov-06 23:00 
GeneralRe: How to Highlight last selected string in Combo box? Pin
dharani9-Nov-06 23:03
dharani9-Nov-06 23:03 
GeneralRe: How to Highlight last selected string in Combo box? Pin
Shah Satish9-Nov-06 23:35
Shah Satish9-Nov-06 23:35 
GeneralRe: How to Highlight last selected string in Combo box? Pin
Monty210-Nov-06 2:18
Monty210-Nov-06 2:18 

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.