Archive for the ‘Win32’ Category
Wednesday, October 15th, 2008
CAPICOM, a COM-based wrapper for the CryptoAPI library, is deprecated and on its way out. However, Microsoft has no time line for phasing it out, nor have they provided sufficient documentation of alternatives.
Many CAPICOM pages contain a confusing, bright-red header along the lines of:
[The SignedCode object is available for ...
Posted in Authenticode, COM, Cryptography, Technology, Win32 | No Comments »
Saturday, October 4th, 2008
GnuPG, GNU Privacy Guard, is a free system for encrypting files, emails, etc. The GnuPG plugin for vim provides automatic encryption and decryption of files within vim. If you attempt to edit a GnuPG-encrypted file with vim, it will prompt you for the password, and re-encrypt the file ...
Posted in Cryptography, Technology, Win32 | No Comments »
Tuesday, June 10th, 2008
Simple Localization
In classic Windows programming, the quickest way to handle localized resources is to put all languages into the same resource file, then use SetThreadLocale to tell Windows that it should return resources tagged with the specified language identifier. Subsequently, any attempt to load a resource by that thread ...
Posted in Technology, Win32 | 1 Comment »
Thursday, June 5th, 2008
My product, a toolbar for Outlook Express, uses tooltips to display keyboard shortcuts. For some localization work, I needed to display an underlined character within a tooltip.
The only hint I could find was a reference to .Net tooltips.
Apparently, in both .Net and Win32 tooltips, a single ampersand will be ...
Posted in Technology, Win32 | No Comments »
Tuesday, March 18th, 2008
Windows Vista UAC is not always a predictable beast.
Today I found out that if an executable doesn't set level="asInvoker" in its manifest, UAC confirmation will kick in if any of the following substrings appear in the filename:
setup
install
update
A digital signature does not affect this behavior.
Besides adding "asInvoker" to the manifest, another ...
Posted in Technology, Win32 | No Comments »