How to test cryptui's dialogs?
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);
> return 0;
Thanks. This method works too.
However, had to add
to compile it.
Unfortunately certificate manager crashes in the same places as it
crashed in Chrome.
More information about the wine-devel