Geeks With Blogs
Willem's... {rue if I mellow} C++ Hard'n'Fast C++/ATL/STL/MFC and other ancient technologies
Win32 XP Key Recovery Utility
Following my prior post: Recover your XP product key from the registry using C#, I have had many requests to provide the same code in unmanaged C++ - so here goes: // KeyDecoder.h #pragma once #ifndef byte typedef unsigned char byte; #endif // byte class KeyDecoder { public: enum Key { XP, Office10, Office11 }; static int DecodeProductKey(KeyDecoder... key, char* pDecodedKey); protected: static byte* GetRegistryDigitalProductId... key); static char* DecodeProductKey(byte* digitalProductId); ......

Posted On Wednesday, May 31, 2006 8:08 AM

Integrating fingerprint and RFID readers in AD/AM applications
An interesting adventure - if anyone is interested in how to do this contact me. We used the following devices: SAGEM MSO-series fingerprint reader pcPRox RFID reader ADAM primarily, with some AD integration to hold the fingerprint-minutae data What made this interesting was writing the application entirely in 'Unmanaged' C++ and integrating the SAGEM SDK (MorphoSmart API) and the pcProxlib API SDK. Both these APIs are provided as native C++ DLLs and ultimately drove our decision to go the complete ......

Posted On Sunday, October 30, 2005 7:35 PM

User input idle detection in MFC applications
We needed to write an application that would automatically execute a time-out action, the time-out being a prescribed length of time that has expired without any user input occurring during that period. Not as easy as it sounds. One way to do it is to setup a set of system-hooks using the message hook APIs provided by Win32. I personally did not like this approach for the following reasons: Using system-hooks is intrusive and reduces overall system performance. Its more work, because the hooks provide ......

Posted On Sunday, October 30, 2005 7:29 PM

Copyright © Willem Fourie | Powered by: