1. Enable Logon auditing in group policy.
2. Subscribe to that particular event using Event Log API's EvtSubscribe[^]
Your program would need to run as a service, because it's possible that noone is logged in at the very moment. I have to little detailed understandiong of the matter toto provide better help, btu that might get you started.
I wondered if anyone can enlighten me on this. I can't seem to find anything from Microsoft that definitely states that AES 256 bit encryption can be enabled under Windows XPe. Does anyone know if this is possible, or am I stuck with triple des? If anyone can shed any light, point me to some articles, etc. Specifically, I need to do some column level AES 256 encryption using SQL Server 2005. DES works fine, but I get an error that AES is not supported.
Microsoft's documentation seems to be a little murky on the subject, I agree. However, reading between the lines - one can see from the following two links, that you don't appear to have any support for doing this directly in SQLServer, though .NET 1.1 apparently has an AES_256 class, which DOES work in XP.
Both DLLs can have the same GUID.
When registering 32-bit and 64-bit DLLs, the registry entries created for each of them are in different registry locations.
So it is possible for both of them to be used of the same PC using the same GUID.
When a 32-bit application creates an instance of the COM, the registry access will be redirected to the appropriate location and it will find the 32-bit COM DLL.
And a 64-bit application will create the 64-bit COM DLL.
«_Superman_» I love work. It gives me something to do between weekends.