|
|
|
|
|
Total Hits: 22 | Today: 0
|
Author: magr74
|
Rating:
|
|

SOF (Service Oriented Framework) provides a OS independent infrastructure for developing component based software. That means the framework helps developers to build software systems consisting of modules which are communicating via clearly defined service interfaces with other modules of the system. Components can be started and stopped at runtime and the components are notified about the lifecycle of other components if necessary. It can be chosen whether the components are loaded locally (her...
|
|
|
|
Total Hits: 17 | Today: 0
|
Author: includeh10
|
Rating:
|
|

The library class file is lib\TransparentDC.h inside zipped source file.
The class contains two public static functions, which can blt dc to dc transparently. They are target to Win32, so you can use them in both Win32 and MFC....
|
|
|
|
Total Hits: 25 | Today: 0
|
Author: mbf000
|
Rating:
|
|

I used to programming with C++ 6.0 from a time ago ,and when the C# come frist i don’t like it but when i work with it i feel comfortable because all relateded function are grouped together like there is a class that have all convert functions and a class that have all Math functions and a stack class and these classes have alot of function that we need but we don’t have time to make it by ower selves .so and because i still love C++ Because its the Powerful programming language in the world i...
|
|
|
|
Total Hits: 14 | Today: 0
|
Author: John Indigo
|
Rating:
|
|

The dynamic screen classes allow you to incorporate advanced screen functionality into your MFC applications.
The fundamental difference of these classes are that they work with the actual resource in your executable - this means that users of your applications can alter screens that have been designed by you using the MFC resource editor - they can make changes at run time....
|
|
|
|
Total Hits: 13 | Today: 1
|
Author: Jessn
|
Rating:
|
|

When establishing a connection to a database, we all know that it can be a time consuming process. The reason why using a connection pool, it is therefore primary because of latency for that particular process. A connection pool holds a bundle of connections, which never will be released – unless the pool is closed. During the design of a connection pool it is important to introduce an abstraction layer, which will allow different kinds of connections and even different kinds of pools. The major...
|
|
|
|
Total Hits: 16 | Today: 0
|
Author: Scott A. Ross
|
Rating:
|
|

By now, Sudoku does not need any introduction. The addictive number puzzle appears daily in newspapers on six continents (what is up with the Antarctic???), and has spawned magazines, books, electronic games, web sites, and some excellent submissions on CodeProject. My goal for this (my first) submission was twofold. First, to create software which would help my wife and son get through some of the fiendish Sudokus in a way that would make them better puzzle solvers. Second, to show use of a cou...
|
|
|
|
Total Hits: 19 | Today: 0
|
Author: Pavel Antonov
|
Rating:
|
|

Getting list of arguments from command line is a common task which is required by a lot of applications. However, there is no standard solution (as far as I know ;). So I wrote class CCmdLineParser, which can parse arguments from command line, if they are typed in folowing form:
* /Key * /KeyWithValue:Value * /KeyWithComplexValue:"Some really complex value of /KeyWithComplexValue"
Of course, multiple keys, Unicode and long (up to 32Kb) command lines are support...
|
|
|
|
Total Hits: 19 | Today: 0
|
Author: Microsoft
|
Rating:
|
|

Microsoft Visual C++ NET (2002) supported both the managed code model that is provided by the .NET Framework and the unmanaged native Windows code model. The information in this article applies to unmanaged Visual C++ code only....
|
|
|
|
Total Hits: 116 | Today: 1
|
Author: PARK Youngho.
|
Rating:
|
|

Nura Othello is a computer board game that a user can play with a computer. The Othello game is sometimes called Reversi as well. Nura is my wife's name. So, I named my program Nura Othello. Nur means light in Arabic, and -a is a feminine suffix, so that Nura can mean bright lady. It is a very popular Arabic name of women in Middle East....
|
|
|
|
Total Hits: 143 | Today: 0
|
Author: Mitchel Haas.
|
Rating:
|
|

The Tree Container Library (TCL) is a generic tree container library that's used to store data elements in a tree-like structure. The tree containers not only work much like the STL, but are compatible with the STL algorithms. The TCL consists of four container classes. These classes allow storage of basic data types or user defined types, as elements within nodes of a tree structure. Each node of the tree is considered a tree itself, having all the properties of a tree container. So, any operat...
|
|
|
|
Total Hits: 13 | Today: 1
|
Author: kig
|
Rating:
|
|

My standard warning: Don't try to compile this project with MSVC v6.0/v7.0. This project requires a compliant compiler. MSVC v7.1 or GCC v3.2.3 will work just fine. In the article about typelist, I briefly mentioned variant. Here, I'd like to discuss it in more detail. The code in this article is to demonstrate the basic ideas only. The actual implementation can be found in TTL. In C++, it is not legal to have non-POD data types in union....
|
|
|
|
Total Hits: 16 | Today: 1
|
Author: aaa_xxx_aaa
|
Rating:
|
|

The windows API of accessing INI File cannot support UNICODE FILE, for instance, if someone wants to write a Chinese string into an INIFILE and read it in a Japan system, he will not get the correct string....
|
|
|
|
Total Hits: 19 | Today: 0
|
Author: includeh10
|
Rating:
|
|

Library file presented is Barcode.h under Lib directory, which contains inline C++ code for
* Code39 * Code93 * CodeI2of5 * Code128A * Code128B * Code128C
The library file is targeted to Win32, so it can be used by both MFC and Win32 programs. All classes are almost the same from user's point of view, only 2 functions are needed to be used....
|
|
|
|
Total Hits: 11 | Today: 1
|
Author: Jan S. Yoder
|
Rating:
|
|

Well-designed and well-behaved applications remember where they were on the screen the last time they were executed. I've implemented this behavior several times and in at least three different ways. I decided it was time to formalize this functionality and present it for others to use....
|
|
|
|
Total Hits: 16 | Today: 0
|
Author: A. Riazi
|
Rating:
|
|

In the previous article, we studied how can use MATLAB C API to solve engineering problems. In this article I will show you how can use MATLAB C++ math library. The MATLAB® C++ Math Library serves two separate constituencies: MATLAB programmers seeking more speed or complete independence from interpreted MATLAB, and C++ programmers who need a fast, easy-to-use matrix math library. To each, it offers distinct advantages....
|
|
|
|
Total Hits: 14 | Today: 1
|
Author: kig
|
Rating:
|
|

Compilers MSVC v6.0/v7.0 are not supported. This project requires a compliant compiler. MSVC v7.1 or GCC v3.2.3 will work just fine.
I have another handy (I hope) addition to the TTL library. Suppose, we need to define a set of flags that can be passed around. Typically, we would use macros to define the flags and an integer data type to hold them....
|
|
|
|
Total Hits: 28 | Today: 0
|
Author: Paul DiLascia
|
Rating:
|
|

The Managed Extensions for C++ make it possible to mix native and managed code freely, even in the same module. Wow, life is good! Compiling with /clr, however, has consequences you may not want. It forces multithreading and dispenses with some useful runtime checks. It interferes with MFC's DEBUG_NEW, and some .NET Framework classes may conflict with your namespace. And what if you have a legacy application that uses an older version of the compiler that doesn't support /clr? Isn't there some w...
|
|
|
|
Total Hits: 44 | Today: 0
|
Author: Tim Kohler.
|
Rating:
|
|

For an assignment at work, I needed to create a set of classes that would use ADO to read from a database. After using tons of code from Code Project over the last few months, I decided I would try to give something back....
|
|
|
|
Total Hits: 105 | Today: 1
|
Author: isemenov
|
Rating:
|
|

Here is a bit more flexible and comfort alternative to ATL::CHandle class. This class is templated to support handles with different zero-values (like INVALID_HANDLE_VALUE and NULL)....
|
|
|
|
Total Hits: 211 | Today: 1
|
Author: crazybit
|
Rating:
|
|

ImageStone is a powerful C++ class library for image manipulation. It is portable, and requires only a recompiling on any platform. It includes features to load/save, display, histogram, undo/redo, and over 100 predefined filters. It is a mature and easy-to-use image library that everyone from novices to professionals can use and enjoy....
|
|
|
|
|
|