CodeProject | Newsletter (7 Feb 2011)

128 articles this week
For comments or enquiries please contact webmaster@codeproject.com View online Monday, February 7, 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

First, a note to all those in Australia affected by the cyclones, floods, heatwaves, fires and locusts. I hate to say it, but I think brimstone is next. Hang in there.

Our hardware programming competition has been extended so if you would like to win a robot - the ultimate geek prize - then head over to the Hardware competition page to find out more.

We're also looking for Mobile development authors to help those tasked with porting their company's legacy apps, that no doubt ran on a dozen or so servers - onto something that fits in your pocket.

iPhone, Windows Phone 7, Blackberry, WebOS, Android, you name it. If you have a mobile development article then You could win a Code Project T-Shirt, a Code Project Mug, and a whole lot of recognition.

cheers,
Chris Maunder

The Code Project Offers

Click HereNew SQL Prompt 5
With code-completion, SQL reformatting, script summaries and more, SQL Prompt 5 makes writing, editing, and exploring SQL effortless. Download a 14-day free trial now.
Click HereMissed The Code Project's Virtual Tech Summit on Cloud Development?
Not to worry! Access the event on demand at no cost! Learn how to publish applications and store data in Window Azure in our Getting Started with Windows Azure Development session. Get access to the on-demand environment by registering now!
Click HerePure & Performant jQuery UI Controls
Infragistics embraces jQuery & ASP.NET MVC with the release of NetAdvantage for Web Developers CTP, incl. preview grid, editor, data source, video player and file upload controls. Download this CTP today.
Click HereWindows Azure Marketplace: The DataMarket contest. Submit the link to your Azure app for a chance to win an Intel i7 laptop or the grand prize of an Xbox 360 with Kinect. Windows Azure trial pass now available. Use it to enter and win!
Click HereImprove .NET Application Performance with PROGRESS DATADIRECT
Join Stephen Wynkoop, SSWUG Co-founder and Microsoft MVP, to discover how DataDirect Connect for ADO.NET providers allow full leverage of the .NET Framework for applications that rely on SQL Server, Oracle, DB2 and Sybase.
View Webinar Now
Click HereMissed The Code Project's Virtual Tech Summit on Mobile Development?
Not to worry! Access the event on demand at no cost. Navigate your way through our on demand version of the premiere event and view enlightening sessions at your leisure. You may have missed the live event but you can still explore the latest in Mobile Development with our on demand version. Register now!

Weekly Poll Results

What do you (mostly) use to read email?

Survey period: 31 Jan 2011 to 7 Feb 2011

We did this survey years ago but the time has come to ask not just what client you use, but also what device.

OptionVotes% 
Android phone736.7273 votes, 6.72%
Blackberry242.2124 votes, 2.21%
iPhone615.6261 votes, 5.62%
Windows Phone 7 / Windows Mobile device292.6729 votes, 2.67%
iPad171.5717 votes, 1.57%
Tablet device (non-iPad)20.182 votes, 0.18%
Web Browser for web-based email32529.93325 votes, 29.93%
Windows based mail client50346.32503 votes, 46.32%
MacOS mail client60.556 votes, 0.55%
Unix / Linux (et al.) mail client201.8420 votes, 1.84%
Other222.0322 votes, 2.03%

View optional text answers (35 answers)

Most popular new articles
31 Jan 2011 - 7 Feb 2011

Latest Additions

128 articles overall 90 new, 66 updated, 0 moved. 21 were edited, 107 unedited
Article topics listed: C++

Too many articles? Visit your profile page to change your newsletter article filters.

New articles added

DirectX

OpenGL

C / C++ Language

Algorithms & Recipes

  • Intercepting calls to COM interfaces - Volodymyr Shamray, Apriorit Inc
    In this article I'm going to describe how to implement COM interface hooks. (Unedited)
    C++, Windows, COM, Dev

DLLs & Assemblies

Articles updated

Office Development

  • ExcelFormat Library - Martin Fuchs
    ExcelFormat allows reading, writing, and editing of XLS (BIFF8 format) files using C++.
    VC6, VC7, VC7.1, VC8.0, VC9.0, Windows, Dev

OpenGL

Win32/64 SDK & OS

Internet / Network

Installation

  • InstallScript Advanced Pointers - Mark Eisenstein
    This article shows how to overcome the InstallScript limitations and to add to it new capabilities inherent in the C/C++ code.
    C++, C, Windows, installer

Work Issues

Tips and Tricks added

Win32/64 SDK & OS

  • How to avoid multiple instances of your Windows application - Menuki
    This solution works in Windows environment under Visual Studio.I don't know if there is a Linux equivalent.I use a counter common for all processes.#pragma data_seg("counter") // counter common for all processesLONG gs_nCtApp = -1; #pragma data_seg()#pragma comment(linker,... (Unedited)
    C++, Win32

Programming Tips

  • The goto-less goto! - jsc42
    It is much easier (and cleaner) to test for success than to test for failure.Viz:if ( condition1 // Note: Test for success, not for fail && condition2 // Will be short-circuited if condition1 fails && condition3 // Will be short-circuited if condition1 or condition 2... (Unedited)
    C++, C#

  • The goto-less goto! - rxantos
    For Cbool bFailed = true;// foreverfor(;;) { // do something here. if(condition1) { // exit the loop (goto) break; } // do something here. // .... // In case you want to goto to the top instead of exit. if(condition2) { // jump to top of the... (Unedited)
    C++, C#

  • Debugging technique - LaRoy Tymes
    Here is a fun program that not only shows how to get precise timings by using the time stamp counter, it also shows how to call main recursively. This is a C program. C++ will not allow calls to main.#include "stdio.h"#include "Windows.h" // Required for Sleep#define CPUID __asm __emit... (Unedited)
    VC6, VC9.0

  • The goto-less goto! - abridges
    Alternate 8, why not just do this:bool bFailed = true;// In case of an exception.try{ // while bFailed while (bFailed) { // do something here. if (condition1) { // exit the loop (goto) bFalse = false; ... (Unedited)
    C++, C#

  • Load a 256 color bitmap properly into an imagelist - Mukit, Ataul
    This tip shows the technique of loading a 256 color bitmap into an image list (Unedited)
    C++, Win32, MFC

  • The goto-less goto! - guilherme heringer
    In C#, you can always use try..finally to add some finalization code.Just write:bool bFailed = true; try{ if(condition1_fails) return; ... if(condition2_fails) return; ... ... if(conditionN_fails) ... (Unedited)
    C++, C#

  • How do I make GSOAP support Unicode? - Shilpi Boosar
    How do I make GSOAP support Unicode? (Unedited)
    C++

Technical blogs added

HTML / CSS

Other .NET Languages

  • Overview of ADO.NET - JasonShort
    NOTE: This article was originally part of the VistaDB.Net blog and has been moved here.ADO.NET is a set of libraries included in the .Net framework to facilitate the communication of applications with various data storage mechanisms.  These libraries form the basis for all third parties to provide d (Unedited)


LINQ

  • LINQPad helps you learn LINQ - JasonShort
    Have you tried to use LINQ to query a database using Visual Studio?  It can be a frustrating experience of things that compile fail at runtime, and that edit / compile / test cycle can quickly lead to hours of lost time trying to get a single complex query to work correctly.LINQPad is an editor for (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

Search This Blog

Blog Archive

Pages