Skip to main content

Links

Official resources
MSDN
Visual C++ Home
microsoft.public.vc.language

The Top
CodeGuru
CodeProject
DeveloperFusion.com
C/C++ Users Journal
RSDN (RU)
First Steps (RU)
Sources.ru (RU)

Tricks, Tips, FAQs
Bjarne Stroustrup's C++ Style and Technique FAQ
CodeGuru FAQ
C++ FAQ Lite by Marshall Cline
CodeProject Forum FAQ
Boob Moore's page (Win32, NT, MFC)
Edelmiro Fuentes's page
http://www.sources.ru/cpp/cpp_vcpp_faq.shtml (RU)
Akzhan Site (RU)

Forums, newsgroups
CodeGuru Forum
microsoft.public.vc.language
comp.lang.c++
RSDN Forum (RU)

Libraries, Components, Add-ons, Add-ins
Boost Libraries #1 for C++!
TinyXML - light yet powerful XML library. Forget about MSXML! :)
Whole Tomato Software: Code syntax highlighting
Compuware corporation: BoundsChecker, SoftICE etc.
Xtreme ToolkitPro - Industry leading Visual C++ MFC UI controls.
STL Error Decryptor
UCanCode: XD++ MFC Class Library for Diagrams
Regular Expression Library

Disk File Systems
NTFS (RU)

Serial Communication
Serial Communications in Win32, MSDN
CSerialPort - Serial Port Wrapper
COM port monitor
COM ports in Win32 (RU)

File formats
WOT IS IT

Win32 and HTML Help Development
Microsoft HTML Help Workshop
HTML Help Center
Web Design Group (HTMLHelp.com)

Books and Tutorials
Thinking in C++ 2nd Edition by Bruce Eckel
C++ programming
Resources on the Web
W3Schools
SoftCraft (RU)
Free books to download (RU)

Application Development Articles
IBM Rational Library

OTHER TOPICS

WIN NT/2K Registry Tips
JSI Inc.

Installers
Inno Installer
Nullsoft Scriptable Install System

Data Recovery
Data Recovery. Montreal, QC, Canada

Link to Links
Google Directory links
ScriptSearch.com

Comments

Popular posts from this blog

Creating a Resource

Although an application can use various resources that behave independently of each other, these resources are grouped into a text file that has the .rc extension. You can create this file manually and fill out all necessary parts but it is advantageous to let Microsoft Visual C++ create it for you. To start creating the resources: On the main menu, you can click Project -> Add Resource... In the Solution Explorer, you can right-click the name of the project, position the mouse on Add, and click Resource... Any of these actions would display the Add Resource dialog box. From this dialog box, you would select the type of resource you want and click New (or Import...). You will then be expected to design or customize the resources. Throughout our lessons, we will see various examples. After creating or designing a resource, you must save it. In most cases, you can try closing the resource. In this case, Microsoft Visual C++ would prompt you to save the resource. If you agree to do t...

Overview

In an MFC application, a resource is a text file that allows the compiler to manage such objects as pictures, sounds, mouse cursors, dialog boxes, etc. Microsoft Visual C++ makes creating a resource file particularly easy by providing the necessary tools in the same environment used to program. This means you usually do not have to use an external application to create or configure a resource file (as done in other programming environments).

Converting a Resource Identifier

An identifier is a constant integer whose name usually starts with ID. Although in Win32 programming you usually can use the name of a resource as a string, in MFC applications, resources are usually referred to by their identifier. To make an identifier name (considered a string) recognizable to an MFC (or Win32) function, you use a macro called MAKEINTRESOURCE . Its syntax is: LPTSTR MAKEINTRESOURCE(WORD IDentifier); This macro takes the identifier of the resource and returns a string that is given to the function that called it. In the strict sense, after creating the resource file, it must be compiled to create a new file that has the extension .res. Fortunately, Microsoft Visual C++ automatically compiles the file and links it to the application.