Win32 Advanced

Win32 File Samples article tries to explain how to read from and write to Disk files using Win32 functions. Though Win32 is not user-friendly and programmers are moving towards .Net, this could be useful in some places where a quick fix for old programs are …

This piece of sample code explains how to retrieve the Logged on User and Domain name on Win NT/2000 using Win32 functions. . The function GetUserName is used for retrieving the logged on user name. The LookupAccountNameA is used to find out the domain name …

Unicode programming is supposed to be easier with windows. But there are certain weird instances when we need to write some weird code too. This sample presents a code written in such a situation. Usually if anybody wants to do unicode programming in MFC this …

Dll is convenient in many ways. If there are some functionalities which are expected to change over time, a Dll becomes the choice of use whether its a VB or MFC or WIN32 dll (provided the function signatures don’t change). The win32 dll is loaded …