Win32 dll Creation and usage
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...
View ArticleUnicode to ascii conversion
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....
View ArticleRetrieve logged on user name on Windows NT
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....
View ArticleGetEnvironmentVariable and GetEnvironmentStrings usage in Win32
Environment variables are used by variety of programs. Each process loaded in Windows will have access to its block of environment variables. While windows uses the environment variables for storing...
View ArticleWin32 File Sample
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...
View ArticlePrint Dialog customization using PrintDlg function in Visual C++/Win32
Customized Printing Dialog using PrintDlg: This article is about how to create a customized Print Dialog. Customized dialog means the customization done with the PrintDlg(..) win32 api in Microsoft...
View Article