Click here to Skip to main content
14,119,858 members

Best C++/MFC article of July 2011

This competition has ended

Contribute to CodeProject and you'll automatically be in the running for a monthly prize!

Each month at CodeProject we gather together the best of the articles submitted the previous month and ask our readers to choose the best of the best. Entry is automatic - just submit you articke and we'll do the rest.

Check out the submission guidelines for information on posting articles.

Current Entries

Articles that match the contest criteria are automatically entered.

25 Jul 2012
pasztorpisti
2 alternatives  
How to open a console in a non-console C/C++ application or DLL and make printf/scanf work (stdin/stdout/stderr related functions)
22 Jul 2011
Arik Poznanski
In this post, we will dive into the ribbon's dynamic structure capabilities, i.e., we will learn about the different ways to change the structure of the ribbon at runtime.
22 Jul 2011
Arik Poznanski
In this post, we continue our exploration of the Windows Ribbon Framework, this time focusing on Gallery controls.
12 Dec 2013
Cloud Hsu
How to remind review in iPhone App
22 Jul 2011
João Paulo Figueira
An alternative way to create the menu bar
29 Jul 2011
Sayyed Mostafa Hashemi
Code for checking the avilabiltiy of Internet connection.
6 Jul 2011
Mukit, Ataul
Shows how to enable invoking of the OnUpdateCmdUI(...) in a dialog or property sheet when a menu bar item is pulled down to show popup menu
25 Jul 2011
Mihai MOGA
How to save a message to an MSG Compound file.
26 Jul 2011
Dave Cross
I just use OutputDebugString() and Sysinternals' DebugView.exe.
4 Jul 2011
Philippe Mori
Provided that the intent is to associate a string (const char *) with a particular dialog type, an implementation like this one could be used.templatestruct CVHDialogTmpl{ CVHDialogTmpl() { } INT_PTR DoModal() { return t.DoModal(ptr); } ...
21 Jul 2011
Paul M Watt
Guide to creating and using Memory Device Contexts (DC) in Win32.
22 Jan 2015
Hatem Mostafa
This article demonstrates how to forward real-time feed to multiple clients with different bandwidths.
20 Mar 2015
Gergely Mancz
This article will show you how to determine the right integer type for a C++ enum in compile time with template meta-programming.
21 Jul 2011
Chris H.F. Tsang
Drawing Polylines by tessellation with joints, caps, feathering and per- vertex color
11 Jul 2011
Ed Gadziemski
CWtlPicture attaches to an owner-drawn picture control and reads, displays, and saves disk or database images
18 Jul 2011
Michael Dunn
This article shows how to control various Ribbon and command properties at runtime
4 Jul 2011
Richard MacCutchan
A little tool to keep a list of code or text snippets ready to put in the clipboard
17 Jul 2011
hofingerandi
Problems I encountered when polishing the GUI of an existing 200K LOC application.
23 Jul 2011
Cloud Hsu
Stack implementation for Objective-C.
25 Mar 2012
Andreas Schoenle
A DLL-wrapper that requires no code changes when switching to dynamic loading and provides detailed error checking functionality.
14 Jul 2011
ocoudert
The best way to understand how to serialize with boost is to walk through increasingly complex serialization scenarios.
27 Jul 2011
Sei Flavius
Solution to Finding Sophie puzzle
9 Aug 2011
Rodrigo Cesar de Freitas Dias
Writing a dialog based program using only pure Win32 C code.
15 Jul 2011
ThatsAlok
Collection of Q&A from VC++ forum
9 Jul 2011
Cristian Amarie
Testing C++ classes with a pointer to member function.
29 Jul 2011
Sayyed Mostafa Hashemi
How to set/change the master volume.
12 Dec 2013
Cloud Hsu
Implement Objective-C Singleton Pattern
21 Jul 2011
Doc Lobster
When to use the typename keyword to identify dependent types, and when not to.
21 Jun 2013
ThatsAlok
How and Where to use it!
4 Oct 2011
Doc Lobster
Establishing a strong binding between enumerations and arrays
7 Jul 2011
Doc Lobster
Be sure that your array has the right size - without using size_of!
12 Dec 2013
Cloud Hsu
How to implement Queue in Objective-C
29 Jul 2011
Melick
User profile synchronization service starting issues
17 Mar 2014
Indivara
A very simple class that allows you to easily lock blocks of code from multi-threaded access.
31 Jul 2011
Lewis Liu L
TCP/IP Stack, FAT16 System on a Microcontroller
25 Jul 2011
Lucman Abdulrachman
Using a button as splitter in MFC dialog based applications.
15 Jul 2011
hus
A graphics library to export graphical output to BMP or WMF.
8 Jul 2011
Yonghwi Kwon
A simple and easy way to check validity of variables in native C++ language
24 Jul 2011
fnwinter
Help to make a skinned dialog program easily in Python, XML with a UI window DLL.
24 Jul 2011
Cristian Amarie
Classes for making simple internet calls using Wininet.
3 Jul 2011
Philippe Mori
Since you must pass the string at each instanciation points, it is useless to make a template argument for it.templatestruct CVHDialogTmpl{ CVHDialogTmpl(const char *ptr_) : ptr(ptr_) { } INT_PTR DoModal() { return t.DoModal(ptr); } Ty t; ...
22 Jul 2011
Arik Poznanski
Introduction Every WPF developer knows the situation where you have a large line-of-business application, you’ve implemented all the features and when you finally run it on real data – it runs s-l-o-w.
18 Jul 2011
Hubert Haien
Presentation of a memory-wrapper class written in ASM that provides methods to organize and serialize data. Comes with its own 32 bit algorithm.
17 Jul 2011
Mohammad Nasim
answers many whys in bigenners' and even advanced programmers' head about what looks strange syntax
11 Jul 2011
trevor.n.webster
This article describes the challenges I faced while programming a simple, concurrent WebSockets server in C++, and concludes with a complete working solution.
25 Jul 2011
Pranay Rana
Note: Split function has more no of overload method but the below two I found useful. You may found other overloads helpful in your code.In this post I am going to discuss about two important thing about Split function of String class.
22 Jul 2011
Alexandre De Pereyra
Efficient anti-aliasing techniques are an important tool of high-quality, real-time rendering. A new Intel technique called Morphological Antialiasing (MLAA) addresses limitations of the standard technique, MSAA. This article discusses MLAA implementation. Includes code samples and free download.
21 Jul 2011
zvx
How to fool the C pre-processor into accepting an empty parameter to a #define
26 Jul 2011
Jaime Olivares
Plain old console output is still a valuable debugging tool, even when used in a GUI application.There are many tools here in CP that can be combined with console output like:CConsole - a simple console for debug output[^]Creating a console for your MFC app's debug output[^]You can use...

Current Participants

Those with articles that match the contest criteria are automatically entered.

ThatsAlok
Software Developer (Senior)
India India
He used to have biography here Smile | :) , but now he will hire someone (for free offcourse Big Grin | :-D ), Who writes his biography on his behalf Smile | :)

He is Great Fan of Mr. Johan Rosengren (his idol),Lim Bio Liong, Nishant S and DavidCrow and Believes that, he will EXCEL in his life by following there steps!!!

He started with Visual C++ then moved to C# then he become language agnostic, you give him task,tell him the language or platform, he we start immediately, if he knows the language otherwise he quickly learn it and start contributing productively

Last but not the least, For good 8 years he was Visual CPP MSMVP!
Alexandre De Pereyra
United States United States
Graphics Software Engineer, Intel Corporation
No Biography provided
Arik Poznanski
Software Developer (Senior) Verint
Israel Israel
Arik Poznanski is a senior software developer at Verint. He completed two B.Sc. degrees in Mathematics & Computer Science, summa cum laude, from the Technion in Israel.

Arik has extensive knowledge and experience in many Microsoft technologies, including .NET with C#, WPF, Silverlight, WinForms, Interop, COM/ATL programming, C++ Win32 programming and reverse engineering (assembly, IL).
Chris H.F. Tsang
Hong Kong Hong Kong
Chris H.F. Tsang
tyt2y3@gmail.com
Cloud Hsu
Architect SIS
Taiwan Taiwan
CloudBox cross-platform framework. (iOS+ Android)
Github: cloudhsu
My APP:
1. Super Baby Pig (iOS+Android)
2. God Lotto (iOS+Android)
2. Ninja Darts (iOS)
3. Fight Bingo (iOS)
Cristian Amarie
Team Leader BitDefender
Romania Romania
No Biography provided
Dave Cross
Software Developer (Senior) Interface Developers Ltd
United Kingdom United Kingdom
Old dog learning new tricks.
Doc Lobster
Software Developer
Germany Germany
No Biography provided
Ed Gadziemski
Founder Choycer
United States United States
Ed has over 40 years experience in computer technology and a bachelor's degree in Business Administration. He's currently a marketing technology consultant. During his career, he's led software development departments and created software still in use in the communications and healthcare industries. Ed is a veteran of the United States Army. He lives in Arizona in the United States.

Find Ed on Linkedin.

This material is copyright 2019 by Ed Gadziemski. Unauthorized use is strictly prohibited. All rights reserved.
fnwinter
Software Developer SEC
Korea (Republic of) Korea (Republic of)
Worked and Working as Windows, Game Software, Mobile Developer.
Gergely Mancz
Team Leader http://www.balabit.com
Hungary Hungary
hofingerandi
Software Developer
Austria Austria
No Biography provided
Hubert Haien
Software Developer (Junior)
Germany Germany
Eager to show what I can do, but still haven't had the chance todo so.
hus
United States United States
No Biography provided
Indivara
Engineer
Japan Japan
No Biography provided
Jaime Olivares
Architect
Peru Peru


Computer Electronics professional, Software Architect and senior Windows C++ and C# developer with experience in many other programming languages, platforms and application areas including communications, simulation systems, PACS/DICOM (radiology), GIS, 3D graphics and HTML5-based web applications.
Currently intensively working with Visual Studio and TFS.
João Paulo Figueira
Software Developer (Senior) Frotcom International
Portugal Portugal
I work on R&D for Frotcom International, a company that develops web-based fleet management solutions.
Lewis Liu L
Software Developer
Australia Australia
No Biography provided
Lucman Abdulrachman
Software Developer NCR Cebu Development Center
Philippines Philippines
Focused in Leading Business Development while working as a Software Developer. His specialty is C++ and PHP. Been developing MS Windows application since 2007.
Melick
Sri Lanka Sri Lanka
No Biography provided
Michael Dunn
Software Developer (Senior) VMware
United States United States
Michael lives in sunny Mountain View, California. He started programming with an Apple //e in 4th grade, graduated from UCLA with a math degree in 1994, and immediately landed a job as a QA engineer at Symantec, working on the Norton AntiVirus team. He pretty much taught himself Windows and MFC programming, and in 1999 he designed and coded a new interface for Norton AntiVirus 2000.
Mike has been a a developer at Napster and at his own lil' startup, Zabersoft, a development company he co-founded with offices in Los Angeles and Odense, Denmark. Mike is now a senior engineer at VMware.

He also enjoys his hobbies of playing pinball, bike riding, photography, and Domion on Friday nights (current favorite combo: Village + double Pirate Ship). He would get his own snooker table too if they weren't so darn big! He is also sad that he's forgotten the languages he's studied: French, Mandarin Chinese, and Japanese.

Mike was a VC MVP from 2005 to 2009.
Mihai MOGA
Software Developer Printec Group Romania SRL
Romania Romania
My professional background includes knowledge of analyst programmer for Microsoft Visual C++, Microsoft Visual C#, Microsoft Visual Basic, Sun Java, assembly for Intel 80x86 microprocessors, assembly for PIC microcontrollers (produced by Microchip Inc.), relational databases (MySQL, Oracle, SQL Server), concurrent version systems, bug tracking systems, web design (HTML5, CSS3, XML, PHP/MySQL, JavaScript, Flash).

If you like my articles, please visit my website for more: https://www.mihaimoga.com/
Mohammad Nasim
Network Administrator
Egypt Egypt
working as a professional services consultant for Cisco products (Routing, Switching, and SDA/DNA).
my main job is to redesign networks to accommodate changes required by business needs, minimizing the down-time as possible. also, i join other teams to help troubleshoot complex network problems.
Mukit, Ataul
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1
ocoudert
Architect OC Consulting
United States United States
I have 20 years experience in software architecture and product development, including 10 years experience in research. I worked at eBay, Synopsys, Mentor Graphics, Magma, and I am an independent consultant in software design and development. I have published 50+ research papers or book chapters, and invented several algorithms for which I hold a few patents.

I am interested in technology as a whole, in particular software, hardware, and web-based applications. Check me out on LinkedIn or twitter (@ocoudert).
pasztorpisti
Software Developer (Senior)
United Kingdom United Kingdom
No Biography provided
Paul M Watt
Engineer
United States United States
I am a software architect and I have been developing software for nearly two decades. Over the years I have learned to value maintainable solutions first. This has allowed me to adapt my projects to meet the challenges that inevitably appear during development. I use the most beneficial short-term achievements to drive the software I develop towards a long-term vision.

C++ is my strongest language. However, I have also used x86 ASM, ARM ASM, C, C#, JAVA, Python, and JavaScript to solve programming problems. I have worked in a variety of industries throughout my career, which include:
• Manufacturing
• Consumer Products
• Virtualization
• Computer Infrastructure Management
• DoD Contracting

My experience spans these hardware types and operating systems:
• Desktop
o Windows (Full-stack: GUI, Application, Service, Kernel Driver)
o Linux (Application, Daemon)
• Mobile Devices
o Windows CE / Windows Phone
o Linux
• Embedded Devices
o VxWorks (RTOS)
o Greenhills Linux
o Embedded Windows XP

I am a Mentor and frequent contributor to CodeProject.com with tutorial articles that teach others about the inner workings of the Windows APIs.

I am the creator of an open source project on GitHub called Alchemy[^], which is an open-source compile-time data serialization library.

I maintain my own repository and blog at CodeOfTheDamned.com/[^], because code maintenance does not have to be a living hell.
Philippe Mori
Software Developer (Senior)
Canada Canada
Programmer at Maid LABS from 2003 (www.maidlabs.com)

Programmer-Analyst at Viasat Geo Technoligies from 1995 to 2002 (www.viasat-geo.com).

I have studied at École Polytechnique de Montréal in computer engineering.
Pranay Rana
Software Developer (Senior)
India India

Microsoft C# MVP (12-13)



Hey, I am Pranay Rana, working as a Team Leadin MNC. Web development in Asp.Net with C# and MS sql server are the experience tools that I have had for the past 5.5 years now.

For me def. of programming is : Programming is something that you do once and that get used by multiple for many years

You can visit my blog


StackOverFlow - http://stackoverflow.com/users/314488/pranay
My CV :- http://careers.stackoverflow.com/pranayamr

Awards:


Richard MacCutchan
Retired
United Kingdom United Kingdom
I was a Software Support Engineer for many years using various legacy enterprise systems before learning UNIX and Windows programming - the latter largely in my own time. In my last few years of employment I spent more time in actual development.

Since retiring I have been learning some of the newer technologies (C#, .NET, WPF, LINQ, SQL ...) that I never used in my professional life, and am actually able to understand some of it.

One day I hope to become a real programmer.
Rodrigo Cesar de Freitas Dias
Systems Engineer
Brazil Brazil
No Biography provided
Sayyed Mostafa Hashemi
Software Developer (Senior)
Iran (Islamic Republic of) Iran (Islamic Republic of)
I am Mostafa Hashemi.I was born in Tehran. I graduated from IUMS university in 2002 (1381). Although my university field different from programming, but I like it. Since I acquainted with computer, I have been interested in Visual C++. I have been beginning to program in Visual C++ in 2003.
Thanks,
http://www.sischer.ir
Sei Flavius
Engineer @ Curbsidr
United States United States
Check our technical blog for more tips and articles @ https://curbsidr.com/blog/
trevor.n.webster
Software Developer
United States United States
No Biography provided
Yonghwi Kwon
Software Developer
United States United States
I started to write software since 1999 and have developed various products including security solutions and system utilities.

Microsoft Visual C++ MVP (from 2008 to present)
Website: http://rodream.net
zvx
Software Developer
Brazil Brazil
I'm a long-time software developer living in Brazil.

I've been developing software for retail and banking automation in C/C++ for many years now. In the old days I even did some COBOL programming, and some assembly for the 8080.

My experience ranges from low level software such as interface code for serial devices for DOS and Windows (bar code scanners, printers, cash dispensers, etc) and goes to writing end user applications for POS terminals and bank ATMs. In between I've done a great deal of TCP/IP programming using the basic Berkeley sockets interface, which is my main interest nowadays.
You must sign in to participate in this contest.
This contest has ended.
1 Jul - 31 Jul 2011

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190518.1 | Last Updated 1 Jul 2011
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid