How to test cryptui's dialogs?

Aurimas Fišeras aurimas at gmail.com
Mon Jul 6 02:00:12 CDT 2009


On 07/06/2009 03:44 AM, Juan Lang wrote:
> Hi Aurimas,
> 
>> But how can I run cryptui's wizards and other dialogs to confirm that
>> everything else is translated correctly?
> 
> In addition to the excellent suggestions you've already gotten, I'll
> just add that it's possible to test cryptui's dialogs without
> installing anything by opening the certificate manager.  For instance,
> the following program, compiled with winegcc, should produce a program
> that'll open the certificate manager:
> 
> #include <windows.h>
> #include <cryptuiapi.h>
> int main(void)
> {
>     CRYPTUI_CERT_MGR_STRUCT mgrStruct;
> 
>     memset(&mgrStruct, 0, sizeof(mgrStruct);
>     mgrStruct.dwSize = sizeof(mgrStruct);
>     CryptUIDlgCertMgr(&mgrStruct);
>     return 0;
> }
> 
> Thanks,
> --Juan
> 
Thanks. This method works too.
However, had to add
#include <string.h>
to compile it.

Unfortunately certificate manager crashes in the same places as it
crashed in Chrome.



More information about the wine-devel mailing list