Click here to Skip to main content
15,561,769 members
This competition has ended

Best C++/MFC article of April 2010

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.

Please Sign up or sign in to vote.
20 Apr 2010David Crow
This article is a brief discussion on how to use FindFirstPrinterChangeNotification
Please Sign up or sign in to vote.
27 Apr 2010TheyCallMeMrJames
This is the third post in a series about jQuery and ASP.NET MVC 2 in Visual Studio 2010. 100% of the developers I have talked to this morning are enjoying jQuery and how it makes ASP.NET MVC sites a treat to work on. Of course, the sample size was one (1) developer, and he’s writing this post.
8 Apr 2010Intel ISN
Load balancing an application workload among threads is critical to performance. However, achieving perfect load balance is non-trivial, and it depends on the parallelism within the application, workload, the number of threads, load balancing policy, and the threading implementation.
Please Sign up or sign in to vote.
18 Apr 2010Sharjith
This article shows how to instantiate a COM object in Tcl/Tk and use its methods and properties.
8 Apr 2010Intel ISN
One key to attaining good parallel performance is choosing the right granularity for the application. The goal is to determine the right granularity (usually larger is better) for parallel tasks, while avoiding load imbalance and communication overhead to achieve the best performance.
Please Sign up or sign in to vote.
15 Apr 2010Joshua Tully
So I’m playing around with DX10 and decide to do some input work.  After much research apparently no one can decide what the best way to handle keyboard input so I’m just going to use WM_KEYDOWN/UP and store the state in a bool[] and check that in the rendering code.  Also, instead of using...
8 Apr 2010Intel ISN
Many applications and algorithms contain serial optimizations that inadvertently introduce data dependencies and inhibit parallelism. One can often remove such dependences through simple transforms, or even avoid them altogether through techniques such as domain decomposition or blocking.
Please Sign up or sign in to vote.
27 Apr 2010TheyCallMeMrJames
This is the second post in a series about jQuery and ASP.NET MVC 2 in Visual Studio 2010. Two perpetually frustrating tasks I have dealt with are scratching out a UI to collect data and having to work with that data client-side.
Please Sign up or sign in to vote.
7 Apr 2010BarrySolomon
Support for Reading XML in MySQL
Please Sign up or sign in to vote.
16 Apr 2010imagiro
Ever had to enumerate the supported media files under Windows for example for the filter-string for GetOpenFileName?Here is a simple solution (using ATL for the registry access):void EnumSupportedMediaFileTypes(){ CRegKey key; CString s; DWORD dwLen; DWORD dw =...
Please Sign up or sign in to vote.
2 Apr 2010Nish Nishant, Professor Cuthbert Calculus, Glenn Quagmire
This paper is a summary of a research exercise conducted in conjunction by Nish Sivakumar, Professor Cuthbert Calculus, and Glenn Quagmire.
Please Sign up or sign in to vote.
25 Feb 2020Elmue
A digital oscilloscope with serial analyzer for the parallel port
Please Sign up or sign in to vote.
12 Apr 2010Ajay Vijayvargiya
More of practical situations to use multithreading!
Please Sign up or sign in to vote.
18 Apr 2010kim.david.hauser
Microsoft Visual Studio Solution File Version Changer - for Visual Studio versions 2002, 2003, 2005, 2008 and 2010
Please Sign up or sign in to vote.
8 Apr 2010valdok
How to abort a non-cooperating thread by an exception
Please Sign up or sign in to vote.
2 Nov 2010Ajay Vijayvargiya
Elaborating new C++ language features with a clear, sharp, and detailed discussion.
Please Sign up or sign in to vote.
27 Apr 2010Siarhei Boika 1 alternative  
Use SetForegroundWindow() to bring window to the top
Please Sign up or sign in to vote.
10 May 2010Kevin Drzycimski
Unroll loops at compile time, deduced by a template argument.
Please Sign up or sign in to vote.
25 Jul 2013Apriorit Inc, Anthony Shoumikhin
This article gives a brief description of ELF libs structure and functioning and also shows how to intercept function calls from one library into another.
Please Sign up or sign in to vote.
25 Apr 2010Syed Saqib Ali Tipu
This article takes a scenario based approach to make the reader understand the Decorator pattern
Please Sign up or sign in to vote.
2 Apr 2010Apriorit Inc, Tatyana Khitrova
The article is devoted to the development of the library that implements the Diffie – Hellman cryptographic algorithm of key exchange.
Please Sign up or sign in to vote.
15 Sep 2010Mahmoud Hesham El-Magdoub
Square Root Methods Fast Algorithm Speed Precision computational Quake3 Fast Square Root Function Fast Gaming
Please Sign up or sign in to vote.
1 Jun 2014Ladislav Nevery
Story about how two thirds of all Antivirus programs gone crazy for no obvious reason
Please Sign up or sign in to vote.
20 Apr 2010Stephen Akins
Monitor your websites using a Google Spreadsheet and some PHP
Please Sign up or sign in to vote.
30 Apr 2010zvx
A framework for writing small to medium size cross-platform TCP servers
Please Sign up or sign in to vote.
26 Apr 2010Chuan-Liang Teng
Access physical memory, I/O port in user mode
Please Sign up or sign in to vote.
20 Apr 2010Sharjith
This article shows how to instantiate a COM object in Python and use its methods and properties.
Please Sign up or sign in to vote.
14 May 2012Sharjith
This article shows how to create a Java Swing GUI application in Netbeans and interface it with JNI DLL.
Please Sign up or sign in to vote.
28 Apr 2010Keith Barrett
Since Visual Studio 2005, native C++ has had a ‘for each’ loop construct, like C# or Java. Unfortunately it is restricted to collections from the STL library, such as vector. However, it does mean you can write very neat code to iterate through such a collection:vector...
Please Sign up or sign in to vote.
21 Apr 2010Love Nystrom
A method to eliminate redundant memory copying in C++ operators
Please Sign up or sign in to vote.
27 May 2010Mohammad Elsheimy
in C#, C++/CLI, and ISO/ANSI C++
Please Sign up or sign in to vote.
6 May 2010365days.enjoy, Alan_Zhang
One way to export Chrome bookmarks to IE Favorites with the JsonCpp library.
Please Sign up or sign in to vote.
4 Apr 2010Aric Wang
Really a tiny class, used to get the currently webpage's net speed you are opening
Please Sign up or sign in to vote.
6 Apr 2010Aric Wang
The aritcle gives you a way to export web browser's favorites.
Please Sign up or sign in to vote.
24 Jan 2011Ajay Vijayvargiya 15 alternatives  
The goto-less goto!
Please Sign up or sign in to vote.
29 Apr 2010Sauro Viti
Use C++ exceptions:try{ if (condition1_fails) throw 1; ... if (condition2_fails) throw 2; ... ... if (conditionN_fails) throw N; PerformActionOnAllSuccess(); DoNormalCleanup();}catch (int condition){ printf("The condition %d fails!\n",...
Please Sign up or sign in to vote.
6 Sep 2012zoufeiyy
A program to operate WMI Namespace Security with Windows Native APIs which are supported on Windows 2000/XP/2003/2008/7.
Please Sign up or sign in to vote.
19 Apr 2010@Intersect☺™
It will help to understand the usefulness of writing codes with good programming practice

Current Participants

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

Software Developer (Senior)
India India
My main area of experience has been in VC++/ MFC / COM projects where I had to write interfacing program for the third Party hardware devices, real time Robot and port communication program and Socket Programming using RF communication. To design & develop Software Applications for different types of Mechatronic Devices like SONAR, SICK LMS LASER, Under Water Analog Camera, High Performence Motor etc. I have also worked in web-based development projects and database management system developments for various clients.
Software Developer
China China
In Guangzhou China
Software Developer (Senior)
India India
Started programming with GwBasic back in 1996 (Those lovely days!). Found the hidden talent!

Touched COBOL and Quick Basic for a while.

Finally learned C and C++ entirely on my own, and fell in love with C++, still in love! Began with Turbo C 2.0/3.0, then to VC6 for 4 years! Finally on VC2008/2010.

I enjoy programming, mostly the system programming, but the UI is always on top of MFC! Quite experienced on other environments and platforms, but I prefer Visual C++. Zeal to learn, and to share!
Chief Technology Officer Apriorit Inc.
United States United States
ApriorIT is a software research and development company specializing in cybersecurity and data management technology engineering. We work for a broad range of clients from Fortune 500 technology leaders to small innovative startups building unique solutions.

As Apriorit offers integrated research&development services for the software projects in such areas as endpoint security, network security, data security, embedded Systems, and virtualization, we have strong kernel and driver development skills, huge system programming expertise, and are reals fans of research projects.

Our specialty is reverse engineering, we apply it for security testing and security-related projects.

A separate department of Apriorit works on large-scale business SaaS solutions, handling tasks from business analysis, data architecture design, and web development to performance optimization and DevOps.

Official site: https://www.apriorit.com
Clutch profile: https://clutch.co/profile/apriorit
This is a Organisation

33 members
Engineer
China China
Secret..
Chief Technology Officer The Credit Collective
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.
Software Developer (Senior) Shan Hon Co., Ltd.
Taiwan Taiwan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Pinnacle Business Systems
United States United States

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

HTTP 404 - File not found
Internet Information Services
Software Developer (Senior) ElmüSoft
Chile Chile
Software Engineer since 27 years.
Software Developer
Germany Germany
Born in 1968 I do programming since over 25 years now. I started with Basic on a ZX81 and with hacking hexcodes in a Microprofessor before I switched to C++ and other languages.

Since more than 10 years I work as a professional software developer, currently for Salsitasoft in Prague.
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.
Student
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.
Software Developer (Senior) Imagine Communications
United Kingdom United Kingdom
I have been working in IT since 1975, in various roles from junior programmer to system architect, and with many different languages and platforms. I have written shedloads of code.

I now live in Bedfordshire, England. As well as working full time I am the primary carer for my wife who has MS. I am learning to play the piano. I have three grown up children and a cat.
Student
Germany Germany
Mathematical and Technical Software Developer
BSc Scientific Programming
MSc Technical Mathematics

Learned programming with Basic and Pascal, developed some skills with PHP, did some projects with C# dealing XML and Webservices and focused on numerical/statistical simulation and GPU-Clusters with CUDA.
Software Developer (Senior)
Switzerland Switzerland
programmer and software junkie since 1991 zurich switzerland
Software Developer (Senior)
Slovakia Slovakia
Past Projects:
[Siemens.sk]Mobile network software: HLR-Inovation for telering.at (Corba)
Medical software: CorRea module for CT scanner
[cauldron.sk]Computer Games:XboxLive/net code for Conan, Knights of the temple II, GeneTroopers, CivilWar, Soldier of fortune II
[www.elveon.com]Computer Games:XboxLive/net code for Elveon game based on Unreal Engine 3
ESET Reasearch.
Looking for job
Software Developer (Senior)
Thailand Thailand
Finally retired after a multi-faceted career as a software developer, systems architect, and IT consultant. I've moved away from Europe, and now I live a quiet life in Thailand.

I've developed code for all levels of firm/software on IBM PC compatible machines. BIOS code, device drivers, hardware test routines, application framework libraries, relational databases, windows multimedia applications, and more.

Now I can pursue my private pet projects, some of which will likely show up here on the code project..
Software Developer (Senior) Free Lancer
Egypt Egypt
BSc Computer Engineering, Cairo University, Egypt.

I love teaching and learning and I'm constantly changing Smile | :)
Feel free to discuss anything with me.

A Freelance UX designer, Code is my tool brush, I design for experience !


My Website
Software Developer (Senior)
Egypt Egypt
Mohammad Elsheimy is a developer, trainer, and technical writer. He is a MCP, MCTS (WinForms), MCPD (Windows Apps), MCSA (SQL Server), MCSE (Data Analytics), and MCT expertized in .NET Framework technologies, data management and analytics. He is also a Project Management Professional (PMP) and a Quranic Readings Institute (Al-Azhar) graduate specialized in Quranic readings, Islamic legislation, and the Arabic language.
United States United States
Nish Nishant is a Principal Software Architect based out of Columbus, Ohio. He has over 17 years of software industry experience in various roles including Lead Software Architect, Principal Software Engineer, and Product Manager. Nish was a Microsoft Visual C++ MVP between 2002 and 2015.

Nish is an industry acknowledged expert in the Microsoft technology stack. He authored C++/CLI in Action for Manning Publications in 2005, and had previously 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 vastly experienced in team management, mentoring teams, and directing all stages of software development.

Contact Nish : If you are interested in hiring Nish as a consultant, you can reach him via his google email id voidnish.

Company Website : www.ganymedesoftwaresolutions.com
Engineer Cutlite Penta S.r.l.
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Product Manager Mahindra & Mahindra
India India
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.
Engineer
Belarus Belarus
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Founder QR Loyalty Cards
Canada Canada
Founder of QR Loyalty Cards, Father, Husband and Space Cowboy.

https://qrloyalty.cards
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 (Senior)
Canada Canada
For almost 30 years I have been working with computers, learning a myriad of languages and participating in various computing environments.

Though I have been mentoring other developers for the last decade, I have recently found a strong interest in writing and am learning to translate the fun of in-person teaching to something I can get into article form.

I enjoy following technology trends, new gadgets and trying to guess where innovation will lead us next (I'm kinda holding out for a robot-served utopia, but willing to submit to our future robot leaders).

I am a guy who is passionate about my faith, my family and a cure for Juvenile Diabetes (my son lives with this disease).
Software Developer (Senior)
Israel Israel
My name is Vladislav Gelfer, I was born in Kiev (former Soviet Union), since 1993 I live in Israel.
In programming I'm interested mostly in low-level, OOP design, DSP and multimedia.
Besides of the programming I like physics, math, digital photography.
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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 Apr - 30 Apr 2010