Click here to Skip to main content
16,004,974 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionget html from the net Pin
hamavreg228-Sep-05 6:53
hamavreg228-Sep-05 6:53 
AnswerRe: get html from the net Pin
vikas amin28-Sep-05 23:12
vikas amin28-Sep-05 23:12 
Questioncrash on the end of release mode Pin
valerie9928-Sep-05 4:15
valerie9928-Sep-05 4:15 
AnswerRe: crash on the end of release mode Pin
carks28-Sep-05 6:04
carks28-Sep-05 6:04 
GeneralThanks. I've tried your suggestion Pin
valerie9928-Sep-05 10:58
valerie9928-Sep-05 10:58 
GeneralRe: Thanks. I've tried your suggestion Pin
prasad_som28-Sep-05 19:28
prasad_som28-Sep-05 19:28 
GeneralHere is another part of code Pin
valerie9929-Sep-05 3:54
valerie9929-Sep-05 3:54 
QuestionSecurity Certificate Store(CertOpenStrore) Pin
sunit528-Sep-05 3:56
sunit528-Sep-05 3:56 
I am programming a Socket enabled with SSL.I want to get certificate from a store provider.my certificate provider is a file.i downloaded the openssl and installed it.i used a command to generate certifcate request
openssl>req -newkey rsa:1024 -keyout server.key -nodes -days 365 -out server.crt<br />

with this command a certificate request (server.crt) is generated.i opened the server.crt and pasted it contents in Advance option (certificate service) to get the certificate.i got a certificate named as"certnew.cer".i opened the certificate ,there was an option "copy to file".i opted for PKCS#7 Certificates(.P7B) and named it FileStore.A file was generated named as Filestore.p7b

//this my code for certificate store

#define ENCODING_TYPE  (PKCS_7_ASN_ENCODING | X509_ASN_ENCODING)<br />
<br />
HCERTSTORE      m_hMyCertStore;//handle to  certificate     store<br />
<br />
m_hMyCertStore = CertOpenStore(<br />
									     CERT_STORE_PROV_FILENAME_A,// define the store         provider type,here it is a             //file on disk.<br />
									     ENCODING_TYPE,// encoding type for certificate & message<br />
									     NULL,	// choose a default CSR.<br />
									     NULL,    //default flag<br />
								          _T("FileStore.p7b")); //The name of an existing file<br />


i want to know whether my procedure is right to get the certificate from store.because i m getting error when i want
credentials for schannel

-- modified at 1:14 Thursday 29th September, 2005
QuestionPowerPoint Device Context Hook? Pin
douglasjordan28-Sep-05 3:55
douglasjordan28-Sep-05 3:55 
Questionmouse driver source for a standard usb mouse Pin
Anonymous28-Sep-05 3:55
Anonymous28-Sep-05 3:55 
QuestionA program to monitor web pages/sites as and when u visit them... Pin
erajsri28-Sep-05 3:29
erajsri28-Sep-05 3:29 
QuestionHow to start yahoo Konfabulator widget from MFC ? Pin
Amarelia28-Sep-05 3:26
Amarelia28-Sep-05 3:26 
AnswerRe: How to start yahoo Konfabulator widget from MFC ? Pin
David Crow28-Sep-05 4:24
David Crow28-Sep-05 4:24 
AnswerRe: How to start yahoo Konfabulator widget from MFC ? Pin
Maximilien28-Sep-05 4:43
Maximilien28-Sep-05 4:43 
QuestionNeed help: Printer Lifemeter Pin
eXtwo28-Sep-05 3:21
eXtwo28-Sep-05 3:21 
AnswerRe: Need help: Printer Lifemeter Pin
David Crow28-Sep-05 4:28
David Crow28-Sep-05 4:28 
QuestionHow to delete entry in start menu? Pin
fggfhfhgfg28-Sep-05 2:58
fggfhfhgfg28-Sep-05 2:58 
AnswerRe: How to delete entry in start menu? Pin
David Crow28-Sep-05 3:13
David Crow28-Sep-05 3:13 
GeneralRe: How to delete entry in start menu? Pin
Arno The Avatar28-Sep-05 4:05
sussArno The Avatar28-Sep-05 4:05 
QuestionHelp me with displaying capture image Pin
SimCom28-Sep-05 2:06
SimCom28-Sep-05 2:06 
AnswerRe: Help me with displaying capture image Pin
Cedric Moonen28-Sep-05 2:26
Cedric Moonen28-Sep-05 2:26 
GeneralRe: Help me with displaying capture image Pin
SimCom28-Sep-05 2:37
SimCom28-Sep-05 2:37 
GeneralRe: Help me with displaying capture image Pin
Cedric Moonen28-Sep-05 2:49
Cedric Moonen28-Sep-05 2:49 
GeneralRe: Help me with displaying capture image Pin
SimCom28-Sep-05 4:35
SimCom28-Sep-05 4:35 
Questionlaunching application from html page Pin
vyjesh28-Sep-05 2:03
vyjesh28-Sep-05 2:03 

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.