Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Illegal Indirection Error - CertFindChainInStore Pin
Rajesh R Subramanian27-Aug-09 6:42
professionalRajesh R Subramanian27-Aug-09 6:42 
GeneralRe: Illegal Indirection Error - CertFindChainInStore Pin
mypicturefaded27-Aug-09 6:50
mypicturefaded27-Aug-09 6:50 
GeneralRe: Illegal Indirection Error - CertFindChainInStore Pin
Rajesh R Subramanian27-Aug-09 9:52
professionalRajesh R Subramanian27-Aug-09 9:52 
GeneralRe: Illegal Indirection Error - CertFindChainInStore Pin
David Crow27-Aug-09 10:05
David Crow27-Aug-09 10:05 
GeneralRe: Illegal Indirection Error - CertFindChainInStore Pin
mypicturefaded27-Aug-09 10:06
mypicturefaded27-Aug-09 10:06 
QuestionRe: Illegal Indirection Error - CertFindChainInStore Pin
David Crow27-Aug-09 10:40
David Crow27-Aug-09 10:40 
AnswerRe: Illegal Indirection Error - CertFindChainInStore Pin
mypicturefaded28-Aug-09 4:33
mypicturefaded28-Aug-09 4:33 
GeneralRe: Illegal Indirection Error - CertFindChainInStore Pin
Randor 28-Aug-09 5:07
professional Randor 28-Aug-09 5:07 
mypicturefaded,

The code you have shown is looking for certificates in the certificate store named "MY" signed by "MyIssuer". Are you sure that you have certificates that match this criteria?

You can check by following the instrustions below.

How to: View Certificates with the MMC Snap-in[^]

You should also note that the default certificate chain is HCCE_CURRENT_USER. If you need to enumerate certificates in the local system account you will need to use the CertGetCertificateChain Function[^] with the hChainEngine argument set as HCCE_LOCAL_MACHINE.

Best Wishes,
-David Delaune
QuestionMaximize window Pin
zhenek9127-Aug-09 4:49
zhenek9127-Aug-09 4:49 
AnswerRe: Maximize window Pin
«_Superman_»27-Aug-09 16:40
professional«_Superman_»27-Aug-09 16:40 
AnswerRe: Maximize window Pin
ThatsAlok28-Aug-09 0:40
ThatsAlok28-Aug-09 0:40 
QuestionI have many errors but I don't know why? Pin
moh.hijjawi27-Aug-09 3:41
moh.hijjawi27-Aug-09 3:41 
AnswerRe: I have many errors but I don't know why? Pin
Code-o-mat27-Aug-09 3:44
Code-o-mat27-Aug-09 3:44 
GeneralRe: I have many errors but I don't know why? Pin
moh.hijjawi27-Aug-09 4:35
moh.hijjawi27-Aug-09 4:35 
AnswerRe: I have many errors but I don't know why? Pin
Luc Pattyn27-Aug-09 7:44
sitebuilderLuc Pattyn27-Aug-09 7:44 
GeneralRe: I have many errors but I don't know why? Pin
moh.hijjawi29-Aug-09 4:37
moh.hijjawi29-Aug-09 4:37 
Questionfix data in virtual listctrl Pin
yiyinkuang27-Aug-09 2:42
yiyinkuang27-Aug-09 2:42 
QuestionRe: fix data in virtual listctrl Pin
David Crow27-Aug-09 3:05
David Crow27-Aug-09 3:05 
AnswerRe: fix data in virtual listctrl Pin
yiyinkuang27-Aug-09 3:46
yiyinkuang27-Aug-09 3:46 
QuestionRe: fix data in virtual listctrl Pin
David Crow27-Aug-09 4:10
David Crow27-Aug-09 4:10 
AnswerRe: fix data in virtual listctrl Pin
yiyinkuang27-Aug-09 4:25
yiyinkuang27-Aug-09 4:25 
GeneralRe: fix data in virtual listctrl Pin
David Crow27-Aug-09 4:58
David Crow27-Aug-09 4:58 
AnswerRe: fix data in virtual listctrl Pin
Maximilien27-Aug-09 3:23
Maximilien27-Aug-09 3:23 
GeneralRe: fix data in virtual listctrl Pin
yiyinkuang27-Aug-09 4:01
yiyinkuang27-Aug-09 4:01 
QuestionHow to change background color of button on dialog box in mfc Pin
pinky888427-Aug-09 1:50
pinky888427-Aug-09 1:50 

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.