For comments or enquiries please contact webmaster@codeproject.com | View online | Monday, January 31, 2011 |
Welcome to this week's newsletter from The Code Project.
To ensure that future newsletters you receive from The Code Project aren't mistakenly blocked by antispam software, be sure to add the maillist.codeproject.com domain to your list of allowed senders.
Site News
The site has been given a small touch-up over the weekend. A more consistent look with our tags, a more logical Quick Answers list, and extra information on the articles, posts and questions on the homepage should make it a little easier to find what you're after.
Think you can do better? Then come and work at CodeProject! If you're an experienced ASP.NET dev and live in or around Toronto, Canada, send me your resume at chris@codeproject.com. Please note: our jetpacks are currently in the shop so we can't fly you to an interview. Please only apply if you are in or around Toronto.
The Daily Insider
A single email each morning can keep you up to date with the goings-on in the IT world. Our Daily Insider lets you know it all in under 5 minutes a day.
cheers,
Chris Maunder
The Code Project Offers
Windows Azure Marketplace: The DataMarket contest. Build an innovative cloud app on Windows Azure Platform using datasets from Windows Azure Marketplace and submit the link for a chance to win an Intel i7 laptop or the grand prize of an Xbox 360 with Kinect. Trial pass now available. Use it to enter & win! | |
20 Minutes to 4 Seconds... SpreadsheetGear for .NET reduced the time to generate a critical Excel Report "from 20 minutes to 4 seconds" making his team "look like miracle workers" according to Luke Melia at Oxygen Media in New York. Download a fully functional SpreadsheetGear trial Today! | |
Android DevCon, March 7-9 in San Mateo, is the world's premier event for Android apps development and management. It features the industry's top experts. Receive a $100 discount or an expo pass using reg code MEDIASPONSOR at www.andevcon.com | |
Join us at The Code Project's Virtual Tech Summit on Mobile Development! On March 9th, 2011 explore the latest in Android, iPhone and Windows Phone 7 development. Attend informative sessions and chat with peers. No lines, no wait times, and no fees! Register now – no cost! |
Weekly Poll Results
What technologies do you mostly use to develop desktop applications?
Survey period: 24 Jan 2011 to 31 Jan 2011
Are you a drag-and-drop kinda developer, or do you prefer to code to the metal? (Thanks to Ravi Bhavnani)
Option | Votes | % | ||
ATL | 83 | 6.18 | ||
Cocoa | 18 | 1.34 | ||
Delphi | 53 | 3.95 | ||
Java | 105 | 7.82 | ||
MFC | 297 | 22.13 | ||
Qt | 70 | 5.22 | ||
Silverlight | 104 | 7.75 | ||
VB6 | 109 | 8.12 | ||
Win32 | 294 | 21.91 | ||
Windows Forms | 752 | 56.04 | ||
WPF | 361 | 26.90 | ||
Other | 75 | 5.59 | ||
I don't develop desktop applications | 70 | 5.22 | ||
Responses | 1314 | |||
Respondents were allowed to choose more than one answer; totals may not add up to 100% |
View optional text answers (114 answers)
This week's survey: What do you (mostly) use to read email?
Most popular new articles
24 Jan 2011 - 31 Jan 2011
- Fuzzy Framework - Václav Slavíček
- A MFC/GDI+ LCD Control - Frédéric Pailloux
- Basic Authentication on a WCF Rest service - Patrick Kalkman
- Say Hello To Behavior Driven Development (BDD)- Part 2 - Mahmudul Haque Azad
- Motor Primer and the L293D Quad Half-H Driver - Mike Hankey
Latest Additions
127 articles overall 84 new, 81 updated, 2 moved. 15 were edited, 112 unedited
Article topics listed: C++
Too many articles? Visit your profile page to change your newsletter article filters.
New articles added
Dialogs and Windows
- Short Key Reminder Display - zebulon75018
this is an original idea a short key reminder display with Qt (Unedited)
C++, Windows, Linux
Miscellaneous
- A MFC/GDI+ LCD Control - Frédéric Pailloux
Nice 7/16/Matric Segment LCD Control derived from CStatic and using GDI+ library (Unedited)
C++, Windows (Win2K, WinXP, Vista, Embedded, Win7), WinMobile (WinMobile6), MFC, GDI+
C / C++ Language
- STM32 Discovery: The Basics - Creating a project - jmlb
Creating a project with Keil for a 32KB program space (Unedited)
C++, C, Embedded, Hardware, Microcontroller
Internet / Network
- Event based Socket Streams: SocketLib - Cem Kalyoncu
C++ TCP Socket Stream Library (Unedited)
C++, Windows, Linux, Networking
Work Issues
- Consequences of using the Copy-Paste method in C++ programming and how to deal with it - Karpov Andrey
But let's try to investigate this problem closely instead of limiting ourselves to just saying "do not copy the code". (Unedited)
C++, C++/CLI, C, Dev, Design, error, copy-paste
Articles updated
Edit Controls
- CFilterEdit: Use Regular Expressions to Filter Your Input - Ben Hanson
The definitive approach to filtering input text. Includes configurable error display.
C++ (VC7.1), Windows (Win2K, WinXP), Visual-Studio (VS.NET2003), MFC, Dev
Applications & Tools
- ToDoList 6.1.6 Feature Release - A simple but effective way to keep on top of your tasks - .dan.g.
A hierarchical task manager with native XML support for custom reporting.
VC6, VC7, VC7.1, VC8.0, Win2K, WinXP, Win2003, Vista, MFC, CEO, Architect, DBA, Dev, QA
Trace and Logs
- TraceTool 12.4: The Swiss-Army Knife of Trace - Thierry Parent
A C#, C++, Delphi, ActiveX , Javascript and Java trace framework and a trace viewer: Tail, OutputDebugString, event log, and with Log4J, Log4Net, and Microsoft Enterprise Instrumentation Framework (EIF) support. This also comes with full support for Pocket PC, Silverlight, and Android.
C#, Javascript, Java, VC7.1, .NET1.1, Win2K, WinXP, Win2003, Android, Silverlight, VS.NET2003, Dev
Algorithms & Recipes
- Minimalist Floating Point Type - _beauw_
A portable, lightweight floating point type.
C++, C, ASM, Windows, VS2010, Dev, IDE
Hardware & System
- Writing a basic Windows debugger - Ajay Vijayvargiya
Learn how you can write your own Windows debugger.
C++, Windows, Win32, STL, Dev
Tips and Tricks added
Win32/64 SDK & OS
- How to avoid multiple instances of your Windows application - Malli_S
Solution II used to use following simple way to manage the single instance of the app.//Usually I append the UID to the application name to achieve the unique object name.TCHAR szAppName[] = _T("Application_Name_999e7ba3-e8fc-4c21-985b-ab11f39ce759");HANDLE hMutex =... (Unedited)
C++, Win32
Programming Tips
- A String & Number Compatible ID Class in Native C++ - CodeRichardWong
Especially useful in some situations. Sometime may be confused inside, is it?(id4) assigned double's result is diff.If you add this:id1 = id4;The answer is...better to prepare one more conversion.have a Try~ (Unedited)
C++ - The goto-less goto! - AspDotNetDev
While I don't recommend it for many situations, here is an alternate for C# that makes use of delegates:// A random number to avoid unreachable code warning.int x = (new Random()).Next();// Action is new to .Net 3.5.Action a = new Action(delegate(){ // goto Exit; if (x <... (Unedited)
C++, C# - The goto-less goto! - Ajay Vijayvargiya
The goto-less goto! (Unedited)
C++, C# - The goto-less goto! - Robert S Sharp
I'm a C# programmer. I try to avoid goto at all costs, and generally I try to avoid throwing exceptions for the purpose of controlling the flow of execution. I've always been of the opinion that exceptions are for exceptional situations and indicate errors rather than expected conditions.I... (Unedited)
C++, C# - Create bitmap from pixels - Mukit, Ataul
Create a bitmap from an array of pixels (Unedited)
C++, MFC - The goto-less goto! - Philippe Mori
Alternative 2 can be enhanced by returning a booleen value if we want to code something similar to the original example. A (early) return value of false would indicate a failure which could then be handle by checking the function result.if (!DoAllActions()){ ... (Unedited)
C++, C# - The goto-less goto! - Philippe Mori
If the number of conditions is relatively small, the following code would made sense: bool bFailed = true; if (!condition1_fails) { if(!condition2_fails) { ... if(!conditionN_fails) { bFailed=false; ... (Unedited)
C++, C# - Debugging technique - Junaij
Timing code using debugger (Unedited)
VC6, VC9.0 - Rectangle Tiling Algorithm - RodrigoMattosoSilveira
This article deserves recognition for its fun potential. After reading it, I decided to try it out by building a simple HTML/JavaScript application to try it out. I used jQuery and a jQuery plugin, SVG. The work is simple and not very elegant, but I had fun putting it together.The HTML... (Unedited)
C++
Uncategorised Quick Answers
- Extracting A Particular Icon From an .ICO Resource - Kyudos
Extracting A Particular Icon From an .ICO Resource (Unedited)
C++, MFC
Technical blogs added
Applications & Tools
- LeakMon - Track Handle leak, GDI Leak and Memory Leak in your Applications - Naveen
LeakMon - Track Handle leak, GDI Leak and Memory Leak in your Applications (Unedited)
C++, Windows
Windows Phone 7
- Loading Data when the User Scrolls to the End of a List in Windows Phone 7 - Daniel Vaughan
Most phone users are concerned about network usage. Network traffic comes at a premium, and a user's perception of the quality of your app depends a lot on its responsiveness. When it comes to fetching data from a network service, it should be done in the most efficient manner possible. Making the u (Unedited)
This email was sent to gang007@gmail.com. To stop receiving this newsletter click here.
The Code Project. 503-250 Ferrand Drive
Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100