Category Archives: Visual C++

How to enumerate network resources using VC++ ?

Microsoft Windows provides several functions (called WNet functions) that help us in implementing networking capabilities in our application. In this article we will see how to use the WNet functions to connect and disconnect the remote drive programmatically. We would … Continue reading

Posted in Visual C++ | Tagged | Leave a comment

How to expand the Macros provided by MFC in your source code ?

MFC provides number of macros to us such as RGB, DECLARE_MESSAGE_MAP, BEGIN_MESSAGE_MAP etc. If we want to see what goes inside these macros we can see the expanded code of our program. For this, Select Project menu | Settings | … Continue reading

Posted in Visual C++ | Tagged | Leave a comment