Welcome to The Emission Locus Sign in | Join | Help

Browse by Tags

All Tags » Code   (RSS)

Using MSXML4 in an application installed by a non-administrator account

An application I've been working on requires MSXML4 for validating instance documents against an embedded schema, but one of the installation requirements is that it must be able to be installed by a non-administrator. The offical Microsoft installer
Posted by admin_user | 0 Comments
Filed under: ,

Issue with application manifests on XP

Someone forgot to test for this: Create an application manifest document (e.g. foo.exe.manifest ) and include it as part of your foo application. Mark the <xml> tag with the encoding="UTF-8" atribute. Compile and test your sample app; works as expected.
Posted by john | 0 Comments
Filed under: , ,

Custom Remote Desktop window sizes

Here's a good tip from Kudzu's blog : I use remote desktop a lot. But 800x600 is too small, and if I use 1024x768 then it goes full screen and its not convenient to move between host and guest easily. To compound this, I run multiple remote desktops as
Posted by john | 0 Comments
Filed under: ,

A gotcha with the SetLocalTime API

Its been a long time between posts; I've been consumed by the tail end of a major project, including a number of longer-than-expected overseas trips. Anyway, to the issue at hand: If your code calls SetLocalTime take special note of the documentation
Posted by john | 0 Comments
Filed under: , ,

Workaround for bug in FormatMessage API

The FormatMessage API appears to have a bug that causes its behaviour to not match its documentation. This occurs when the specified module does not have a MESSAGETABLE resource and both the FORMAT_MESSAGE_FROM_HMODULE and FORMAT_MESSAGE_FROM_SYSTEM flags
Posted by john | 0 Comments