Click here to Skip to main content

Articles by Pablo Aliskevicius (Articles: 6, Tip/Tricks: 2)

Articles: 6, Tip/Tricks: 2

RSS Feed

Average article rating: 4.74

C / C++ Language

A Study on Corruption
Posted: 30 Jan 2012   Updated: 30 Jan 2012   Views: 5,816   Rating: 4.87/5    Votes: 11   Popularity: 5.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 116
Do you believe that memory corruption will generate an immediate, repeatable crash? Some programmers actually do...
Dangling Pointers: Pathology, Prevention and Cure
Posted: 4 May 2012   Updated: 18 May 2012   Views: 7,534   Rating: 4.77/5    Votes: 30   Popularity: 7.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 139
Dangling pointers were a problem in the past, but nowadays we'll find none, right? Guess again...

WTL

Dropping Files Into a WTL Window (The Easy Way)
Posted: 22 Feb 2004   Updated: 20 Apr 2004   Views: 33,953   Rating: 4.78/5    Votes: 12   Popularity: 5.16
Licence: The GNU General Public License (GPLv3)      Bookmarked: 19   Downloaded: 1,383
A mix-in class to help dropping files into WTL windows.
Putting a Progress Bar, BitMap, Animation or Dialog in a Multi Pane Status Bar (The Easy Way).
Posted: 3 Mar 2004   Updated: 20 Apr 2004   Views: 115,636   Rating: 4.41/5    Votes: 17   Popularity: 5.43
Licence: The GNU General Public License (GPLv3)      Bookmarked: 52   Downloaded: 3,478
Put a Progress Bar in a pane of your status bar with just three lines of code, or a bitmap, animation or anything with a HWND with just one.
Changing the Colors of a WTL Dialog (The Easy Way)
Posted: 3 May 2004   Updated: 3 May 2004   Views: 62,889   Rating: 4.65/5    Votes: 15   Popularity: 5.47
Licence: The GNU General Public License (GPLv3)      Bookmarked: 33   Downloaded: 1,564
A mix-in class to change the appearance of a dialog, by handling WM_CTLCOLOR* messages, with five lines of code
Creating a WTL Dialog, Property Sheet or Wizard out of a resource (The Easy Way)
Posted: 17 Jun 2004   Updated: 4 Aug 2004   Views: 82,836   Rating: 4.95/5    Votes: 52   Popularity: 8.49
Licence: The GNU General Public License (GPLv3)      Bookmarked: 58   Downloaded: 3,420
After you design your dialogs in Visual Studio, use the WTL Class Wizard to turn them into WTL classes and not just from Visual Studio 6!
No blogs have been submitted.
No video articles have been posted.

Average tips rating: 4.42

C / C++ Language

How to build an image (DLL/EXE) when two of its included libraries have the same symbol (say function/variable) using VC++ [Tip/Trick]
Posted: 24 Jan 2012   Updated: 24 Jan 2012   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
If the .lib files you're linking to represent some .dll files somewhere else, you can do the following:void main(){ FunB(); // from external_1.lib FunC(); // from external_2.lib // FunA(); // from external_1.lib / external_2.lib ???? typedef void (WINAPI *...

Programming Tips

(C#) Determining whether the current build mode is Debug or Release [Tip/Trick]
Posted: 29 Jan 2012   Updated: 29 Jan 2012   Rating: 3.85/5    Votes: 5   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
You can make it a bit shorter: public virtual bool IsDebug { get { #if (DEBUG) return true; #else return false; #endif } }Thanks for sharing,

Pablo Aliskevicius

Software Developer (Senior)

Israel Israel

Member

Google+
Pablo writes code for a living, in the good ol' days in COBOL, now in C++, C#, and SQL.
 
To make all that work easier, he uses some C++ libraries: STL, ATL & WTL (to write Windows applications), and code generation.
 
Pablo was born in 1963, got married in 1998, and is the happy father of two girls.
 
His favorite quote is: "Accident: An inevitable occurrence due to the action of immutable natural laws." (Ambrose Bierce, "The Devil's Dictionary", published in several newspapers between 1881 and 1906).


Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 27 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid