Click here to Skip to main content
15,914,111 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Update dotNET framework ? Pin
Paul Watson24-Nov-03 5:55
sitebuilderPaul Watson24-Nov-03 5:55 
AnswerRe: Update dotNET framework ? Pin
Matt Philmon4-Dec-03 7:38
Matt Philmon4-Dec-03 7:38 
GeneralVB.Net Pin
MonsterHilux23-Nov-03 19:56
MonsterHilux23-Nov-03 19:56 
GeneralRe: VB.Net Pin
Colin Angus Mackay26-Nov-03 12:57
Colin Angus Mackay26-Nov-03 12:57 
QuestionHow to fake services on .NET hosts ? Pin
Jerry Evans21-Nov-03 9:23
Jerry Evans21-Nov-03 9:23 
AnswerRe: How to fake services on .NET hosts ? Pin
Daniel Turini21-Nov-03 10:03
Daniel Turini21-Nov-03 10:03 
GeneralHelp!! About VScrollBar control in .NET Framework Pin
newhzh21-Nov-03 0:14
newhzh21-Nov-03 0:14 
QuestionCould anybody tell me the parameter of CryptUIDlgSelectCertificate API of cryptui.dll? Pin
zhang_hao20-Nov-03 18:03
zhang_hao20-Nov-03 18:03 
CryptUIDlgSelectCertificate is a undocumented API. So I have not read any reference about this API. But I find some similar API in new MS SDK. In cryptuiapi.h of new MS SDK, it define as following:
PCCERT_CONTEXT
WINAPI
CryptUIDlgSelectCertificateFromStore(
IN HCERTSTORE hCertStore,
IN OPTIONAL HWND hwnd, // Defaults to the desktop window
IN OPTIONAL LPCWSTR pwszTitle,
IN OPTIONAL LPCWSTR pwszDisplayString,
IN DWORD dwDontUseColumn,
IN DWORD dwFlags,
IN void *pvReserved
);

So I guess CryptUIDlgSelectCertificateFromStore and CryptUIDlgSelectCertificate have same parameters. And I write some codes to invoke CryptUIDlgSelectCertificate API. But it doesn't work(the program can be compiled, and it runs well, there is no error. But the selectcertificate dialog can not popup ). The following is source code:
if(hStoreHandle = CertOpenStore(
CERT_STORE_PROV_SYSTEM,0,NULL,CERT_SYSTEM_STORE_CURRENT_USER,
L"MY"))
printf("The MY store is open. Continue.\n");
else {
handle_error("The store did not open.");
goto handle_error;
}

HINSTANCE hLib;
typedef PCCERT_CONTEXT (WINAPI *fnDLLProc)(
HCERTSTORE,
HWND, // Defaults to the desktop window
LPCWSTR,
LPCWSTR,
DWORD,
DWORD,
void *
);
fnDLLProc lpfnDLLProc;
//

hLib = LoadLibrary ("cryptui.dll");
if (hLib)
{
lpfnDLLProc = (fnDLLProc) GetProcAddress (hLib, "CryptUIDlgSelectCertificateW");
pCertContext=(*lpfnDLLProc) (hStoreHandle, GetDesktopWindow(),NULL,NULL, 1, 0, 0);
FreeLibrary (hLib);
}

I think I had better know the parameters of this API. Could anybody tell me the parameters of this API, or the errors of my source code.Thanks a lot!
GeneralProble while sending mail through windows service using MSMAPI Pin
alexander13219-Nov-03 20:32
alexander13219-Nov-03 20:32 
GeneralPictureBox StretchImage problem Pin
Msftone19-Nov-03 13:53
Msftone19-Nov-03 13:53 
QuestionWhat about pipes? Pin
Noodnik19-Nov-03 11:39
Noodnik19-Nov-03 11:39 
AnswerRe: What about pipes? Pin
Jeff Varszegi19-Nov-03 11:50
professionalJeff Varszegi19-Nov-03 11:50 
GeneralRe: What about pipes? Pin
Noodnik19-Nov-03 17:59
Noodnik19-Nov-03 17:59 
General.NET on Terminal Server Pin
O c t a v i e19-Nov-03 3:35
O c t a v i e19-Nov-03 3:35 
GeneralRe: .NET on Terminal Server Pin
Pauwll23-Nov-03 0:28
Pauwll23-Nov-03 0:28 
GeneralRe: .NET on Terminal Server SOLVED! Pin
O c t a v i e23-Nov-03 23:52
O c t a v i e23-Nov-03 23:52 
GeneralDatabase communication Pin
Moonspellwizard17-Nov-03 23:31
Moonspellwizard17-Nov-03 23:31 
GeneralRe: Database communication Pin
Colin Angus Mackay18-Nov-03 0:14
Colin Angus Mackay18-Nov-03 0:14 
General5 Steps to Rapid Development Pin
smars17-Nov-03 23:01
smars17-Nov-03 23:01 
QuestionHow to compare Word files Pin
Ali-imran15-Nov-03 2:24
Ali-imran15-Nov-03 2:24 
AnswerRe: How to compare Word files Pin
Nick Parker16-Nov-03 9:51
protectorNick Parker16-Nov-03 9:51 
GeneralRe: How to compare Word files Pin
Heath Stewart16-Nov-03 16:34
protectorHeath Stewart16-Nov-03 16:34 
GeneralRe: How to compare Word files Pin
Nick Parker16-Nov-03 17:07
protectorNick Parker16-Nov-03 17:07 
GeneralRe: How to compare Word files Pin
Heath Stewart17-Nov-03 2:33
protectorHeath Stewart17-Nov-03 2:33 
AnswerRe: How to compare Word files Pin
Nick Parker16-Nov-03 17:22
protectorNick Parker16-Nov-03 17:22 

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.