Hooks aren't always your best option for tracking user idle time. Not only are they often difficult to write, but they also must be loaded into every desktop process and they can trigger some anti-spyware software. Tom Archer offers a more efficient technique.
Latest cpp_managed Articles - Page 12
Tom Archer illustrates how to use the .NET OLE DB classes to read text files.
Tom Archer illustrates how to locate files matching a specified extension by using a .NET component and various .NET classes.
Learn how to easily measure the height and width needed to display text values using .NET classes.
Learn how to convert memory and strings between native C++ and managed C++.NET.
Tom Archer illustrates step-by-step instructions for making your collection classes sortable by any of your class's members.
Latest CodeGuru Developer Columns
Discover the concept of late binding—the work behind the scenes to realize the late binding mechanism. Sample code and examples are provided.
Explore how to perform basic serial port communication. Examples are in C# and VB.NET.
Explore how to create and use a Ubuntu virtual machine.