Instructor-led training
Introduction to Windows Programming and MFC Training in Horseheads, New York
This course teaches advanced programming techniques using the Win32 API and MFC.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Horseheads, New York or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
Win32 Architecture and Programming
Windows Operating Systems
Dynamic Link Libraries
Win32 API
Kernel Objects
Win32 Memory Manageme
Win32 Programming
Win32 Program Flow
SDK Windows Programs
Console Programs
Windows Versions
Error Information
MFC Without the Wizards
Dynamic Link Libraries
Dynamic vs. Static Libraries
DLLs to Manage Resources
Explicit and Implicit Linking
Linking to C Language DLLs from C++ Programs
MFC Regular and Extension DLLs
Introduction to Threads Using MFC
Win32 Processes and Threads
MFC Thread Encapsulation
User Interface and Worker Threads
MFC Thread Synchronization
Thread Safety
Processes in Win32
Creating and Terminating Processes
Process Data Structures
Process Kernel Objects
Synchronization
Interprocess Data Communication
Interprocess Communciation in Win32
Memory-Mapped Files
WM_COPYDATA
Mailslots
Named Pipes
COM Fundamentals
Interfaces
Classes and Objects
Globally Unique Identifiers
Servers
Registration
Instantiating an Object
Object Lifetime and Interface Negotiation
Initializing COM
COM Client Programming Model
Appendix A. Visual C++ COM Support
Using Type Libraries with Import Directive
Namespaces
Smart Pointers
Error Handling
_bstr_t
Form Views and Data Entry
CFormView Class
Converting a Dialog to a Form View
Creating a Form View with AppWizard and ClassWizard
Control Variables in Dialog Data Exchange
Data Entry User Interface Paradigm
Introduction to ODBC
ODBC Architecture
Connecting to a Data Source
Executing SQL Statements
Retrieving Result Data
MFC Database Classes
CDatabase and CRecordset Classes
Record Field Exchange
Scrolling in a Recordset
Recordset Status
Choosing a Data Source at Runtime
MFC Specification of SELECT Statement
Edits, Adds and Deletes
CRecordView Class
More About ODBC
Using ODBC at the API Level
Parameterized Queries
Joins
ActiveX Data Objects
Universal Data Access
ODBC and OLE DB
ADO Object Model
Database Programming Using ADO
Appendix A. Data Access Objects
Windows Common Controls
Win32 Common Controls
MFC Common Control Classes
Progress, Slider and Animation Controls
Bitmaps and Image Lists
Tree View Control
List View Controls
Windows System Registry
System Registry
Win32 Registry API
Saving User Preferences in Registry
Advanced Document/View Architecture
Document Templates
Multiple Document Classes
Multiple View Classes
Splitter Windows and Multiple Panes
Advanced Menus and Toolbars
Dynamic Menus
Context Menus
Dynamic Toolbars
Dialog Bars
Advanced GDI
Coordinate Transformations
Scrolling
Printing
Metafiles
What makes Win32 and MFC programming hard to master
MFC wizards hide a lot. The difficulty here is that the course removes that cover and asks you to reason about what sits underneath: processes, threads, kernel objects, DLL loading, COM reference counts and ODBC handles. The syllabus builds these layers in order.
- Win32 foundations. Kernel objects, Win32 memory management, program flow, SDK-style programs and error information. A common misconception is that MFC replaces the Win32 API. It wraps it, and many MFC bugs only make sense once you see the call underneath.
- DLLs. Explicit versus implicit linking, linking to C-language DLLs from C++ code, and MFC regular versus extension DLLs. Mixing these up causes load-time failures that are hard to diagnose.
- Threads and processes. User interface versus worker threads, MFC synchronization and thread safety. Then process creation, memory-mapped files, WM_COPYDATA, mailslots and named pipes. Choosing among these IPC mechanisms is a design decision, and a synchronization mistake may fail only under load.
- COM. Interfaces, GUIDs, registration, object lifetime and interface negotiation. The appendix on Visual C++ COM support (the import directive, smart pointers, _bstr_t) shows how the compiler hides reference counting, which is exactly why it matters to understand it first.
- Data access. ODBC at the API level comes before CDatabase, CRecordset, Record Field Exchange and CRecordView. After that come parameterized queries, joins, OLE DB and ADO. Learning the layers in that order explains what the MFC classes do on your behalf.
- User interface depth. Common controls (tree view, list view, image lists), multiple document and view classes, splitter windows, dynamic menus and toolbars, dialog bars, and GDI topics such as coordinate transformations, printing and metafiles.
The five days are dense, and later topics assume you are comfortable with the earlier ones.
Who this course suits and what to take around it
The course targets developers who already work in MFC and Visual C++ and need to understand the Win32 layer, typically because they build, maintain or migrate existing Windows desktop applications. The stated prerequisite is basic MFC and Visual C++ experience, and the description calls it advanced material for experienced MFC developers. Treat the course as a step up from the fundamentals, not a first look at Windows programming.
If you have not yet built MFC applications, MFC Windows Programming for C++ Programmers is the natural preparation, since this course assumes document/view and dialog basics. If your C++ itself is shaky, C++ Programming covers the language foundation first.
For teams that want to apply RAII and smart pointers around legacy MFC code, Modern C++ Programming using C++11/C++14 is a sensible follow-on. It addresses the ownership problems that arise when older code meets newer idioms.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Extending a document-based application. A team might need a second document type with its own view, plus a splitter layout and context menus. That maps to document templates, multiple document and view classes, splitter windows and dynamic menus. Adding printing and metafile output draws on the GDI topics.
- Reworking a data-entry front end. A team might maintain a CRecordset-based form that needs parameterized queries and joins, and want to understand how ADO would replace it. That ties to CFormView, Record Field Exchange, ODBC at the API level, OLE DB and the ADO object model.
- Splitting work across threads and processes. An application might move long-running work to a worker thread and exchange data with a helper process through named pipes or memory-mapped files. A COM client written with the import directive and smart pointers could then talk to another component. Those choices involve thread synchronization, interprocess communication and COM client programming.
AI coding assistants with Win32 and MFC code
AI coding assistants are useful for explaining an unfamiliar Win32 call, summarizing what a message map or DLL export is doing, drafting boilerplate for common controls or registry access, and sketching tests. They are weaker where this course is hardest:
- Concurrency. Generated thread code often looks plausible but misses a lock, holds one too long, or touches the user interface from a worker thread.
- Resource and COM lifetime. Leaked handles, mismatched reference counts and BSTR ownership errors are easy to introduce and rarely show up in a quick run.
- Mixed idioms. Suggestions may blend modern C++ patterns or newer APIs into code built on older MFC conventions, or call functions your project's toolchain does not provide.
- Data access details. Parameter binding, Record Field Exchange mappings and recordset status handling are specific enough that generated code may compile and still behave wrongly.
To verify, review every generated change for ownership and synchronization, test under concurrent load, check handle and memory usage over long runs, and use static analysis or sanitizers where your toolchain supports them. Understanding the underlying Win32 and COM model, which this syllabus teaches, is what lets you judge whether the output is correct.
Frequently asked questions
What level is this course?
The description positions it for experienced MFC developers who want to go deeper into Win32 and advanced MFC techniques. It is not a first course in Windows programming.
What should I know beforehand?
A basic working knowledge of MFC programming and the Visual C++ development environment. Familiarity with C++ classes and the document/view model will help, and the MFC Windows Programming course is one way to prepare.
What does the course cover?
Win32 architecture and API fundamentals, DLLs, threads and processes, interprocess communication, COM fundamentals and Visual C++ COM client support, ODBC, MFC database classes and ADO, common controls, the system registry, advanced document/view, menus and toolbars, and GDI topics including printing and metafiles.
Can this be delivered privately for our team, onsite or online?
Yes. HSG provides private training for organizations, delivered at the client's location or live online.
Can the content be customized?
Private courses can be customized, including tailoring to the technology versions your organization uses. You can describe your needs through a training proposal request.HSG Technology & Workforce Intelligence
Most relevant to Introduction to Windows Programming and MFC
- Software developers, employment: 80 (May 2025; U.S. Bureau of Labor Statistics)
- Software developers, concentration relative to the U.S. (location quotient): 0.23 (May 2025; U.S. Bureau of Labor Statistics)
- Computer systems design and related services, employment concentration relative to the U.S. (location quotient): 0.19 (2024 annual average; U.S. Bureau of Labor Statistics)
- Corning Incorporated - Solid Mechanics Modeling Engineer (Corning, NY) - The posting is dated Jun 3, 2026, located in Corning, NY. It asks for programming and scripting skills in Python, MATLAB, or C++. I could not confirm that the posting is still open as of today. (corningjobs.corning.com)
Selected for this course from the verified data in the section below.
Key findings for C++
- The official data counts occupations, industries and degrees, not programming languages, so it does not measure C++ use. A few specific items do mention it: two Corning Incorporated postings in nearby Corning, NY (checked 2026-11-29) name C++ among required or requested skills, and SUNY Corning Community College lists C/C++ in both its credit and career-training offerings. These are a few observations, not a measure of the whole market.
- In our reading, C++ fits the area's engineering and manufacturing base. Manufacturing employment had a concentration of 1.67 relative to the U.S. (2024 annual average), and industrial engineers 1.61 (May 2025). C++ is common in embedded, simulation and equipment-control work.
- Skills worth building: modern C++ (smart pointers, move semantics, the STL), plus Python, which appears beside C++ in both the Corning postings and the career-training listings.
- Computer and mathematical occupations employed 480 people in the Elmira, NY metropolitan area in May 2025, with a median annual wage of $79,250 against $47,850 for all occupations. Their concentration relative to the U.S. was 0.42, so this is a small technology labor market.
- Among the area's bachelor's degree holders, 3.3% hold a degree in computers, mathematics or statistics (ACS 2020-2024 5-year), against 5.1% for the United States.
Workforce: occupations, industries and pay
These figures describe occupations, not C++ use. Computer and mathematical occupations employed 480 people in the Elmira, NY metropolitan area in May 2025 and paid a median of $79,250, well above the $47,850 median for all occupations. Software developers numbered 80, a concentration of 0.23 relative to the U.S. The area's relative strength is in making things: production occupations had a concentration of 1.59 and industrial engineers 1.61. In our reading, C++ work here is more likely to sit inside engineering and manufacturing teams than in dedicated software companies.
Talent and education
Of the area's bachelor's degree holders, 9.9% hold an engineering degree and 3.3% a degree in computers, mathematics or statistics (ACS 2020-2024 5-year). The U.S. figure for computing-related degrees is 5.1%. Elmira College awarded one mathematics and statistics degree in the 2023-24 academic year, a small signal about local supply. For C++ learners, this suggests that engineers who add programming, and programmers who learn engineering domains, may be an important pipeline.
Economy and investment
Manufacturing employed 4,624 people in the area (private sector, 2024 annual average), down 9.2% from the 2019 annual average. Computer and electronic product manufacturing, a smaller group at 387 jobs, grew 10.9% over the same period and had an average weekly wage of $2,105, against $1,177 for all industries. Real gross domestic product in the area was 3.2% lower in 2023 than in 2018. Federal grants obligated in the area were $36.9 million in FY2025. These are signals worth watching, not promises.
How Elmira compares
| Area | Bachelor's or higher (ACS 2020-2024 5-year) | Computing degrees (share of bachelor's holders) (ACS 2020-2024 5-year) | Computer and math jobs, LQ (May 2025) | Software developers, LQ (May 2025) | Computer systems design industry, LQ (2024 annual average) |
|---|---|---|---|---|---|
| Elmira, NY | 27.2% | 3.3% | 0.42 | 0.23 | 0.19 |
| United States | 35.7% | 5.1% | 1.00 | 1.00 | 1.00 |
| New York State | 40.2% | 5.0% | 0.96 | 1.08 | 0.79 |
| Columbus, IN | 34.1% | 5.2% | 0.55 | 0.53 | 0.60 |
| Kokomo, IN | 20.8% | 3.2% | 0.25 | 0.15 | 0.14 |
| Midland, MI | 36.6% | 5.1% | 0.69 | 0.41 | 0.07 |
| Casper, WY | 27.7% | 3.5% | 0.33 | 0.35 | 0.25 |
| Great Falls, MT | 28.4% | 2.9% | 0.44 | 0.18 | 0.21 |
LQ (location quotient) compares the share of jobs in an occupation or industry with the national share; 1.00 equals the U.S. average.
Each column uses one period for every area; "not published" means the publisher released no estimate, not zero.
Skills and technologies to build
This part is HSG's interpretation of the data above for people learning C++. The official sources measure occupations, industries and degrees, not programming languages.
Why C++ fits this regional economy. In our reading, the area's strong occupations and industries point to a use for C++ where software meets physical products. Examples are modeling and simulation tools, automated equipment and embedded control. Manufacturing (concentration 1.67 relative to the U.S., 2024 annual average) and computer and electronic product manufacturing (1.74) are the industries where such work is most plausible. Computer systems design is a thin local industry, with a concentration of 0.19.
Evidence of C++ in the area. Corning Incorporated's Solid Mechanics Modeling Engineer posting in nearby Corning, NY asks for programming and scripting skills in Python, MATLAB, or C++. Its Staff Engineer, Automated Systems and Software posting, also in Corning, requires proficiency with C#, C/C++, Vue and Python. Both were checked 2026-11-29, and we could not confirm either is still open. On the education side, SUNY Corning Community College's Computer Science program requires CSCS 1320 C/C++ Programming, and its career-training page lists a C++ course with AI-assisted coding and a Back-End Foundations: C++ and Python course. Postings show hiring demand, and course listings show training supply. Neither shows how widely C++ is used.
Frameworks and skills worth investigating. The standard path runs from fundamentals through object-oriented design to templates and the STL, then modern C++ with smart pointers and lambdas. For engineering-oriented work, CMake builds, GoogleTest or Catch2 testing and sanitizers are worth investigating, and Qt where desktop tools matter. The C++ Core Guidelines and cppreference are the working references, and the ISO C++ Foundation tracks the standard.
Emerging areas worth watching. C++20 concepts, ranges, coroutines and modules, along with C++23 library additions, are worth watching. So is industry and government attention to memory safety, including guidelines, hardening and sanitizers. Teams maintaining older code may find that modernizing pre-C++11 code is a practical first project.
Improving your prospects. Both Corning postings list C++ beside other languages, so pairing it with Python for scripting and analysis is a sensible step. Where a posting also names C#, C# is worth adding. Engineers who already know C can move to C++ quickly. Domain knowledge in simulation, automation or manufacturing processes may matter as much as the language. See the C++ learning guide, or request a training proposal for a team.
HSG courses for these skills. Introduction to C++ for Absolute Beginners covers first programs, I/O, variables and data types. C++ Programming for C Programmers covers classes, inheritance and polymorphism. C++ Standard Template Library covers template functions, template classes and specialization. Modern C++ Programming using C++11/C++14 covers move semantics, range-based for-loops, initializer lists and variadic templates. For experienced developers, Advanced C++ for Experts covers templates, function objects and design patterns. Training is also available for nearby Horseheads and Elmira.
About this data: sources, periods and limitations
- U.S. Census Bureau: American Community Survey 5-year estimates (ACS 2020-2024 5-year)
- U.S. Bureau of Labor Statistics: Occupational Employment and Wage Statistics (May 2025)
- U.S. Bureau of Labor Statistics: Quarterly Census of Employment and Wages (2024 annual average)
- National Center for Education Statistics: IPEDS completions (2023-24 academic year)
- U.S. Bureau of Economic Analysis (via FRED, Federal Reserve Bank of St. Louis): Regional economic accounts
- U.S. Department of the Treasury (USAspending.gov): Federal awards by place of performance
- corningjobs.corning.com: Corning Incorporated - Solid Mechanics Modeling Engineer (Corning, NY) (checked 2026-11-29)
- corningjobs.corning.com: Corning Incorporated - Staff Engineer, Automated Systems and Software (Corning, NY) (checked 2026-11-29)
- corning.cleancatalog.net: SUNY Corning Community College - CSCS 1320 C/C++ Programming (checked 2026-11-29)
- careertraining.corning-cc.edu: SUNY Corning Community College Career Training - C++ and Python courses (checked 2026-11-29)
- Values are by the area each publisher reports (metropolitan area, county or state), retrieved from the publishers and checked by HSG.
- Leading indicators, such as graduates and federal funding, are signals of possible future activity. They do not guarantee employment.
- Bachelor's degree holders whose degree is in computers, mathematics or statistics: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Computers, mathematics and statistics.
- Bachelor's degree holders whose degree is in engineering: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Engineering.
- All occupations, computer and mathematical occupations: Survey-based estimate for the May reference period (3-year sample). Annual median wage is capped at the published top code. Covers wage and salary workers; excludes the self-employed.
- Computer and mathematical occupations, software developers, industrial engineers and others: Survey-based estimate for the May reference period (3-year sample). Covers wage and salary workers; excludes the self-employed.
- All industries: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 10 (NAICS).
- Manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 31-33 (NAICS).
- Manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 31-33 (NAICS). Location quotient relative to the U.S.
- Computer and electronic product manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 334 (NAICS).
Training locations
Introduction to Windows Programming and MFC training across the U.S. and beyond.
We provide private Introduction to Windows Programming and MFC training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Introduction to Windows Programming and MFC training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.