Click here to Skip to main content
15,900,725 members
This competition has ended

MFC/C++ Jul 2004

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. The top 50 entries are shown.

Please Sign up or sign in to vote.
23 Jul 2004Luuk Weltevreden
This article shows a set of templates created around the Microsoft Cabinet library. With these templates, you can extract cabinet files and cabinets stored in the resource section of a module. It can be easily extended to allow extraction through other means.
Please Sign up or sign in to vote.
10 Aug 2007JO Hyeong-Ryeol
A C++ class which helps you to interact with a HTTP web server.
Please Sign up or sign in to vote.
11 Aug 2004Nish Nishant
The article exposes the new array syntax available in C++/CLI for the declaration and use of CLI arrays
Please Sign up or sign in to vote.
19 Jul 2004Danil Shopyrin
This paper addresses the problem of merging object-oriented and automaton-based programming technologies.
Please Sign up or sign in to vote.
15 Jul 2004Dmitriy Yakovlev
A CExtWndShadow class, which should enable you to easily draw compound shadows anywhere you want.
Please Sign up or sign in to vote.
7 Oct 2006Ravi Bhavnani
A lightweight general-purpose owner drawn bitmap button.
Please Sign up or sign in to vote.
13 Jul 2004Alexander Silonosov
Creating Web-style GUI and easily managing it from MFC code. Creating dialogs based on DHTML, receiving events from DHTML to MFC, and calling JScript functions from MFC.
Please Sign up or sign in to vote.
23 Aug 2004PEK
Compares two .RC-files and shows important differences. Useful if you create programs in multiple languages.
Please Sign up or sign in to vote.
4 Aug 2004asnaghi
A control that implements an array of items
Please Sign up or sign in to vote.
19 Jul 2004DucThanh
A CButton-derived hyperlink control that contains a built-in ToolTip
Please Sign up or sign in to vote.
12 Aug 2004Abbas_Riazi
Showing property sheet dialog of a specific device.
Please Sign up or sign in to vote.
7 Aug 2004Ivan Cachicatari
This control creates a chart in a dialog with Pie and Bar styles.
Please Sign up or sign in to vote.
10 Jul 2004Ray Hayes
An article on how I used Generics to implement a general purpose caching collection with user defined size limits.
Please Sign up or sign in to vote.
22 Jul 2004liyang yu
Implement a client/server structure with multiple clients using simple C++ classes
Please Sign up or sign in to vote.
3 Oct 2011Ben Hanson
The definitive approach to filtering input text. Includes configurable error display.
Please Sign up or sign in to vote.
14 Jul 2004Holger Kloos
Using Named Pipes for Traces out of Multiple Processes
Please Sign up or sign in to vote.
6 Jul 2004abhinaba
This article describes creation of splash windows using Win32 APIs
Please Sign up or sign in to vote.
25 Jul 2004crazybit
A powerful image manipulation library for C++.
Please Sign up or sign in to vote.
14 Jul 2004Zuoliu Ding
Several enhanced permutation algorithms created in iterative or recursive solution.
Please Sign up or sign in to vote.
5 Jul 2004Chris Hills
You've seen the tooltip windows that Word displays when you drag the scrollbar. Now you can add them to your own applications.
Please Sign up or sign in to vote.
22 Jul 2004pseudonym67
A Connect Four Game that learns from experience.
Please Sign up or sign in to vote.
19 Jul 2004Steven Campbell
An introduction to some of the challenges and opportunites of object-oriented design.
Please Sign up or sign in to vote.
19 Jul 2004Gammill
Limit additional resize operations to a single handle.
Please Sign up or sign in to vote.
19 Jul 2004Eran Aharonovich
Network Sniffer
Please Sign up or sign in to vote.
13 Jan 2007AnOldGreenHorn
A C++ wrapper to SQLite database
Please Sign up or sign in to vote.
15 Oct 2004Rob Manderson
Synchronising thread completion the easy way
Please Sign up or sign in to vote.
6 Jul 2004Roland Trainor
A status control that can provide feedback to a user on the progress of one or many operations
Please Sign up or sign in to vote.
30 Jul 2004Achilleas Margaritis
A library for C++ garbage collection
Please Sign up or sign in to vote.
20 Jul 2004Andrew Phillips
How to use overflow checking effectively and avoid some pitfalls.
Please Sign up or sign in to vote.
6 Jul 2004liyang yu
Using thread, semaphore and event classes to implement a specific version of Producer/Consumer model
Please Sign up or sign in to vote.
16 Jul 2004bhaskar_gupta
Motion control of the most widely used Stepper Motor through PC's Parallel Port.
Please Sign up or sign in to vote.
6 Jul 2004Wolfgang Busch
A bitmap class with a "brute-force" region creator
Please Sign up or sign in to vote.
6 Jul 2004Stefan Voitel
Build a NT Service
Please Sign up or sign in to vote.
17 Jul 2004PJ Arends
Explains how to use the PSM_QUERYSIBLINGS message to share data between pages on a property sheet.
Please Sign up or sign in to vote.
3 Mar 2005Alberto Ferrazzoli
.NET wrapper for ZLib, written in MC++
Please Sign up or sign in to vote.
12 Jul 2004gilad-ap
Source code to produce a DLL that converts MP3 files to WAV or PCM. It is based on the open source library libmad.
Please Sign up or sign in to vote.
11 Jul 2004Bahrudin Hrnjica
Application for painting on the screen.
Please Sign up or sign in to vote.
2 Jul 2004TomKat
Simple ODBC Wrapper + Connection classes for several database types.
Please Sign up or sign in to vote.
14 Jul 2004Holger Kloos
Example for a simple encapsulation of the TWAIN interface
Please Sign up or sign in to vote.
29 Jul 2004umair_hasan
This article shows how to test an Active Directory connection and enumerate all objects based upon some filters.
Please Sign up or sign in to vote.
4 Jul 2004Edwin Brunner
Draw your print preview buttons in your customers' language
Please Sign up or sign in to vote.
6 Jul 2004S. Sean Stagner
A quick method for maintaining the Project MRU List in Visual Studio .NET 2003 as it is shown on its "Start Page".
Please Sign up or sign in to vote.
19 Jul 2004Deepak Jain
The paper is an extension to my last paper "D-FOM: Yet another OOM". This is a case study to develop confidence in D-FOM approach for some system Analysis and its VHDL Modeling. A 8051-Microcontroller system is Analyzed, Designed, and Modeled in VHDL using D-FOM approach, in this paper.
Please Sign up or sign in to vote.
30 Jun 2004Charles Horan
A utility application that generates .NET code for wrapping stored procedures.
Please Sign up or sign in to vote.
18 Jul 2004psling777
Using ON_MESSAGE to handle non-MFC flavored messages
Please Sign up or sign in to vote.
11 Jul 2004CARPETBURNER
Do's and dont's in finding and managing a Foreign Outsourcing company.
Please Sign up or sign in to vote.
4 Jul 2004danamac
A simple way to make static text controls draw transparently over the dialog background.
Please Sign up or sign in to vote.
6 Jul 2004peterchen
Editing environment strings like PATH, INCLUDE and LIB is painful? Not anymore.
Please Sign up or sign in to vote.
18 Nov 2018mimicry
An article about class factory with dynamic subscription / auto registration

Current Participants

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

CEO Solaris Electronics LLC
United Arab Emirates United Arab Emirates
I was born in Shiraz, a very beautiful famous city in Iran. I started programming when I was 12 years old with GWBASIC. Since now, I worked with various programming languages from Basic, Foxpro, C/C++, Visual Basic, Pascal to MATLAB and now Visual C++.
I graduated from Iran University of Science & Technology in Communication Eng., and now work as a system programmer for a telecommunication industry.
I wrote several programs and drivers for Synthesizers, Power Amplifiers, GPIB, GPS devices, Radio cards, Data Acquisition cards and so many related devices.
I'm author of several books like Learning C (primary and advanced), Learning Visual Basic, API application for VB, Teach Yourself Object Oriented Programming (OOP) and etc.
I'm winner of January, May, August 2003 and April 2005 best article of month competition, my articles are:


You can see list of my articles, by clicking here

Web Developer
United States United States
I just love coding. I started programming in 1995 with BASIC and then moved through Cobol, Pascal, Prolog, C, C++, VB, VC++ and now C#/.NET.

I received a Bachelor of Technology degree in Computer Science from University of Calcutta in 2001.

I worked for some time in Texas Instruments, Adobe Systems and now in Microsoft India Development Center in the Visual Studio Team Systems.

I am from the City of Joy, Kolkata in India, but now live and code Hyderabad.
Software Developer (Senior)
Greece Greece
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
Moldova (Republic of) Moldova (Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Australia Australia
Andrew has a BSc (1983) from Sydney University in Computer Science and Mathematics. Andrew began programming professionally in C in 1984 and has since used many languages but mainly C, C++, and C#.

Andrew has a particular interest in STL, .Net, and Agile Development. He has written articles on STL for technical journals such as the C/C++ User's Journal.

In 1997 Andrew began using MFC and released the source code for a Windows binary file editor called HexEdit, which was downloaded more than 1 million times. From 2001 there was a shareware version of HexEdit (later called HexEdit Pro). HexEdit has been updated to uses the new MFC (based on BCG) and is once more open source.
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Systems / Hardware Administrator
Italy Italy
I'm working in a big Mobile Telecommunication company. I am a System Programmer. My main task is the integration between Host application and distributed Open-systems and workstations, picture processing and graphic.
Software Developer (Senior)
Bosnia and Herzegovina Bosnia and Herzegovina
Bahrudin Hrnjica holds a Ph.D. degree in Technical Science/Engineering from University in Bihać.
Besides teaching at University, he is in the software industry for more than two decades, focusing on development technologies e.g. .NET, Visual Studio, Desktop/Web/Cloud solutions.

He works on the development and application of different ML algorithms. In the development of ML-oriented solutions and modeling, he has more than 10 years of experience. His field of interest is also the development of predictive models with the ML.NET and Keras, but also actively develop two ML-based .NET open source projects: GPdotNET-genetic programming tool and ANNdotNET - deep learning tool on .NET platform. He works in multidisciplinary teams with the mission of optimizing and selecting the ML algorithms to build ML models.

He is the author of several books, and many online articles, writes a blog at http://bhrnjica.net, regularly holds lectures at local and regional conferences, User groups and Code Camp gatherings, and is also the founder of the Bihac Developer Meetup Group. Microsoft recognizes his work and awarded him with the prestigious Microsoft MVP title for the first time in 2011, which he still holds today.
Software Developer (Senior)
United Kingdom United Kingdom
I started programming in 1983 using Sinclair BASIC, then moved on to Z80 machine code and assembler. In 1988 I programmed 68000 assembler on the ATARI ST and it was 1990 when I started my degree in Computing Systems where I learnt Pascal, C and C++ as well as various academic programming languages (ML, LISP etc.)

I have been developing commercial software for Windows using C++ since 1994.
Researcher
India India
http://profile.iiita.ac.in/bgupta_b03

http://www.flickr.com/photos/bhaskar4006/

http://quiescency.blogspot.com/
Software Developer (Senior)
United Kingdom United Kingdom
Ive came to the conclusion recently Job Titles exist merely to massage the ego. Everybody in my workplace is a manager of something (sometimes they manage themselves solely) I Prefer to be judged not on my job title but my ability to do a good job of what I am supposed to do.
Web Developer
Canada Canada
I have been a sofware developer for over 20 years. I first started out developing programs on an old PDP8 in my highschool. Over the years I have seen many changes to our profession. The one constant however has been the need for understanding the problem space at hand. Once you have that understanding the solution space tends to solve itself.
Retired
United Kingdom United Kingdom
I've been programming computers since about 1968. I started at school with Algol 60 on an Elliott 803. From there I progressed through the Z80 and other microprocessors to the PC, DOS and Windows, Pascal, C and C++.

My other interests include astronomy and classical music. All of my contributions to Code Project have arisen from programs I've written in these areas.
Team Leader PhoXo
China China
graduate from University of Science and Technology of China at 2002.

Now I work at www.phoxo.com.
Web Developer
United States United States
Software engineer working on commercial applications used in color management.
Web Developer
Russian Federation Russian Federation
An experienced software developer.

Now I'm participating in VisualSVN project that is an integration package between Subversion and Visual Studio.
Program Manager
India India

"DEEPAK" actually means an earthen lamp which is the light source for poor people in dark. "Deepak" also means the 'Light of Hope'.


Dr. Deepak Jain, is currently working with a leading (rated among top four) IT Outsourcing Company in India. He completed his Bachelor of Technology in Electronics and Communication Engineering from Institute of Engineering and Technology, Kanpur, India followed by Master of Technology in Computer Science and Engineering from C-DAC, Noida, India.


A Ph. D. in Information Systems, Dr. Jain is author of more than 30 research papers and articles published in different journals and editorials of National and International repute. Dr. Jain has also authored two books on Software Engineering Principles one of which is published with BPB Publications, one of the largest publishers in Asia and the other is published with Oxford University Press (Higher Education), one of the most reputed International publishers. He is writing many more titles for leading names in publishing.


Dr. Jain has worked for many software development projects for planning, development and management roles. Dr. Jain is a Life Associate Member of Computer Society of India and a member of ACM Special interest Group of Software Engineering.


Together with being an active academician and researcher Dr. Jain also maintains his contribution to social responsibilities. He is a member of Indian Red Cross Society and All India Crime Reformation Organization (AICRO) just to name his touches to social responsibilities.


Deepak lives in Delhi (capital of India) and People who loves him call him "Sanju", which is a symbol of naughtiness.

Software Developer (Senior)
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Chief Technology Officer
Vietnam Vietnam
Nguyen Duc Thanh is a software developer from Vietnam, a lovely and peaceful country.
He graduated from Faculty of Technology and is doing a master degree at College of Technology, Vietnam National University, Hanoi.
He's interested in image processing, cloud computing, enterprise software development, website application developement.
Web Developer
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
Australia Australia
Been a programmer since 1999.
Experience in:
.Net, C++, C#, VB, VB.NET, ASP, ASP.NET, DLLs, COM etc.
Retired
United States United States
Retired C programmer and Unix Sys Admin, then VC6 C++ MFC programmer. I moved to VC7 C++ 2003 in Oct of 04, and VC8 C++/CLI early in 06. I resisted C#; but now it is my preferred language. I'm through with upgrading. I'll stay at VC2008 and C#, as I only program for fun anymore.

Update 2019: I have moved back to Unix: Linux Cinnamon Mint. I got aggravated with Windows and VC. I've returned to my roots. Now, my preferred language is Java. I use IntelliJ as my IDE; but write my code with Emacs. I thoroughly enjoy Linux and being back on Unix! I've published a little game on the Kindle Fire and a little apt for Android phones. I hope you still love to code as much as I do when you reach my age... advanced 70's.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
Peru Peru
Ivan Cachicatari is an student of Computer Sciense in Peru.

I'm webmaster of the latin developers comunity (in my free time)
Latindevelopers.com

Recently I have a personal blog (spanish), sonn in english. click on: Ivan Cachicatari's Blog
Software Developer
Korea (Republic of) Korea (Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
United States United States
I love to tell jokes and today, I finally came up with my own joke. here it goes:

I decide to make my first son a medical doctor so later on when I am old and sick, I can get medical care any time I need and for free..., in fact, better to make my second son a medical doctor too so I can get a second opinion.

here is another version of this joke:

I decide to make my first son a medical doctor so later on when I am old and sick, I can get medical care any time I need and for free..., in fact, better to make my second son a medical doctor too so I can get a second opinion. well, perhaps my third son should be a lawyer - in case something is wrong with my medical care, I can sue the first two for free.

if you happen to visit this page and read these two jokes, tell me which one you like...
Web Developer
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
Nish Nishant is a technology enthusiast from Columbus, Ohio. He has over 20 years of software industry experience in various roles including Chief Technology Officer, Senior Solution Architect, Lead Software Architect, Principal Software Engineer, and Engineering/Architecture Team Leader. Nish is a 14-time recipient of the Microsoft Visual C++ MVP Award.

Nish authored C++/CLI in Action for Manning Publications in 2005, and co-authored Extending MFC Applications with the .NET Framework for Addison Wesley in 2003. In addition, he has over 140 published technology articles on CodeProject.com and another 250+ blog articles on his WordPress blog. Nish is experienced in technology leadership, solution architecture, software architecture, cloud development (AWS and Azure), REST services, software engineering best practices, CI/CD, mentoring, and directing all stages of software development.

Nish's Technology Blog : voidnish.wordpress.com
PEK
Sweden Sweden
PEK is one of the millions of programmers that sometimes program so hard that he forgets how to sleep (this is especially true when he has more important things to do). He thinks that there are not enough donuts in the world. He likes when his programs works as they should do, but dislikes when his programs is more clever than he is.
Klippel
Germany Germany
Peter is tired of being called "Mr. Chen", even so certain individuals insist on it. No, he's not chinese.

Peter has seen lots of boxes you youngsters wouldn't even accept as calculators. He is proud of having visited the insides of a 16 Bit Machine.

In his spare time he ponders new ways of turning groceries into biohazards, or tries to coax South American officials to add some stamps to his passport.

Beyond these trivialities Peter works for Klippel[^], a small german company that wants to make mankind happier by selling them novel loudspeaker measurement equipment.


Where are you from?[^]



Please, if you are using one of my articles for anything, just leave me a comment. Seeing that this stuff is actually useful to someone is what keeps me posting and updating them.
Should you happen to not like it, tell me, too
President
Canada Canada
Father of two, brother of two, child of two.
Spouse to one, uncle to many, friend to lots.
Farmer, carpenter, mechanic, electrician, but definitely not a plumber.
Likes walks with the wife, board games, card games, travel, and camping in the summer.
High school graduate, college drop-out.
Hobby programmer who knows C++ with MFC and the STL.
Has dabbled with BASIC, Pascal, Fortran, COBOL, C#, SQL, ASM, and HTML.
Realized long ago that programming is fun when there is nobody pressuring you with schedules and timelines.
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Technical Lead
Canada Canada
Ravi Bhavnani is an ardent fan of Microsoft technologies who loves building Windows apps, especially PIMs, system utilities, and things that go bump on the Internet. During his career, Ravi has developed expert systems, desktop imaging apps, marketing automation software, EDA tools, a platform to help people find, analyze and understand information, trading software for institutional investors and advanced data visualization solutions. He currently works for a company that provides enterprise workforce management solutions to large clients.

His interests include the .NET framework, reasoning systems, financial analysis and algorithmic trading, NLP, HCI and UI design. Ravi holds a BS in Physics and Math and an MS in Computer Science and was a Microsoft MVP (C++ and C# in 2006 and 2007). He is also the co-inventor of 3 patents on software security and generating data visualization dashboards. His claim to fame is that he crafted CodeProject's "joke" forum post icon.

Ravi's biggest fear is that one day he might actually get a life, although the chances of that happening seem extremely remote.
Product Manager
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
I've been programming for 35 years - started in machine language on the National Semiconductor SC/MP chip, moved via the 8080 to the Z80 - graduated through HP Rocky Mountain Basic and HPL - then to C and C++ and now C#.

I used (30 or so years ago when I worked for Hewlett Packard) to repair HP Oscilloscopes and Spectrum Analysers - for a while there I was the one repairing DC to daylight SpecAns in the Asia Pacific area.

Afterward I was the fourth team member added to the Australia Post EPOS project at Unisys Australia. We grew to become an A$400 million project. I wrote a few device drivers for the project under Microsoft OS/2 v 1.3 - did hardware qualification and was part of the rollout team dealing directly with the customer.

Born and bred in Melbourne Australia, now living in Scottsdale Arizona USA, became a US Citizen on September 29th, 2006.

I work for a medical insurance broker, learning how to create ASP.NET websites in VB.Net and C#. It's all good.

Oh, I'm also a Kentucky Colonel. http://www.kycolonels.org
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
United States United States
Steve is a software developer working in Minneapolis, MN.
Web Developer
Romania Romania
I have been programming for the past 6 years in VBasic, Delphi, C, C++ .
I also have extended knowledge of webdesign (HTML, CSS, JavaScript, VBScript), webprogramming (PHP, ASP, ASP.NET (C#)) and database integration (mySql, MSSQL Server).
And when I`m not programming I`m working out or working on some personal projects .
Last but not least I`m looking for a project-based job in programming or webdesign .
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
You must sign in to participate in this contest.
This contest has ended.
1 Jul - 1 Aug 2004