The article shows how to interop between a WCF service and a WWS client, and also how to rewrite the WCF service in WWS retaining compatibility with existing WCF clients.
This DLL and the test MFC application supplied demonstrates how efficiently large number of words can be dealt with lightning fast - for wild card matching and checking existence. This DLL is just the all-in-one tool that a word game writer needs - one who needs a very fast dictionary facility.
The NotifyIcon Component will display an icon in the status bar notification area, which you can use as notiification purpose to alert users that an action or event has occured.
A user interface infrastructure quickly attachable to your application, accompanied by a simple text-based platform-independent user interface that builds on the infrastucture.
Step-by-step instructions on how to add OLE automation to an already existing application. In addition, it illustrates how to do things without using the code as provided by the application wizard.
This article presents a friendly C# wrapper class for the MessageBoxIndirect API. The MessageBoxIndirect class allows you to add a help button, custom icon, locale-aware buttons, and different modalities to a message box.
A look into what goes into the area of preventing reverse engineering, and gives developers some functions and ideas about preventing reversing engineering of their programs.
This application is just a simple simulator but its ability is that u can simply add much more properties to ur mobile and the interface and the source code are so separate so u can change the interface with just a low cost!!!
DicoLib stores words in lists of anagrams indexed by their length and a 26 bits bitset which describe which letters are present in the words. This makes it extremely fast to search for words which contain specified letters, and to search for words which are "close" for spell checking appli
The MFC CListCtrl does not allow editing labels for all columns. This extended class implements ways to specify column editors, row, cell, and column colors etc.
This article presents an in-depth analysis of std::deque and offers guidance as to when to prefer using it as opposed to std::vector, by taking into consideration memory allocation and container performance.
This article presents a practical technique to achieve interface based object implementation by ATL only. This technique implements basic COM concepts about interface while doesn't rely on COM runtime.
Herb Sutter has just joined Microsoft as their new Visual C++ .NET community guy. Read about who he is, what he does, and what is happening with our beloved Visual C++.
A re-usable calculator custom control which works and looks like a hand held calculator, which can be used in any MFC application by simply adding a cpp and a h file to the project (no resource file dependencies).
Function pointers provide a handy mechanism for 1st order functions but are rather complex in usage. This article gives a wrapper around those function pointers making the use of them easier.
This article is based on a pre-release version of Microsoft Visual Studio 2005, formerly code-named “Whidbey”. All information contained herein is subject to change.
This article discusses how an application can apply visual effects to the desktop, by copying desktop contents, applying effects on it and then re-displaying it.
Whidbey is a major component of Microsoft Visual Studio .NET suite. The .NET version of Visual Basic is a new improved version with more features and additions. After these new additions, VB.NET qualifies to become a more smarter approach for the software developers.
Neural networks are typically associated with specialised applications, developed only by select groups of experts. This misconception has had a highly negative effect on its popularity. Hopefully, the FANN library will help fill this gap.
This article demonstrates a backpropagation artificial neural network console application with validation and test sets for performance estimation using uneven distribution metrics.
Here is a class that will help you to control the execution of your threads that involves looping/polling and also limits their CPU usage to a specified limit.
The article describes C++ coding styles and practices to be followed to develop robust and reliable code that is easily comprehended and maintained by other developers.
Most of the C++ programmers do not benefit from "Garbage Collection" technique (GC). Here is a new memory management technique named "GC Allocator" (Note it is not "GC").
This article describes the process of storing the audio data of a movie file (.mpeg, .mpg, .avi and .dat) on the hard disk in a WAV file using DirectShow filters.
A Spy tool program like MS Spy++ that lets you capture window controls and modify their properties. Useful for learning window handles and their properties.
I get asked this question sometimes from seasoned programmers who are new to C++. There are plenty of good books written on the subject, but I found no clear and concise set of rules on the Internet for those who don't want to understand every nuance of the language—and just want the facts.
CProcessData is a template class that makes it easy to use data allocated in a different process, and is useful when making inter-process SendMessage/PostMessage calls.
This is a macro which takes the name of any void returning global\static procedure, followed by the list of arguments to be passed to that procedure, and invokes the procedure with the arguments supplied, in a new thread.
TallPDF.NET and PDFKit.NET are 100% .NET components written entirely in C# for creating, manipulating and reading PDF documents and PDF forms.The focus is to ease the task of integrating our component in a larger application.
How to use a template to create a custom collection class and using the C++ std::vector STL library as well as the operator. I will expect you to understand how pointers, classes, templates and the operator works.
An MDI MFC generated project has only one view by default, here is one way to add more CView derived classes and initiliaze them without adding any special initialization code.
An owner-drawn CTreeCtrl that has checkboxes and open/close controls aligned vertically on the right hand edge of the tree for easy viewing regardless of the horizontal scroll position.
An article which discusses the need for synchronization in multi-threaded applications, and features a generic framework for making calls across threads: ThreadSynch.
CTreePropSheetEx is an extension of CTreePropSheet offering new features such as resizing, skipping empty pages, and new property frames such as Office 2003 option sheet.
C++ has no native support for adding new operators, but this article shows how, with macros and some clever overloading, it is possible to easily add your own anyway.
Using .NET's System.Globalization class for retrieving month names in forgein lanaguages, and the DateTimeFormatInfo for keeping your dates the correct way around.
We modify starter files provided by the ATL project wizard, to improve user-friendliness and provide security for our server. I also show you how to do a Replace/Replace All across the whole project.
In this step, we add a simple COM object to our server using the ATL Simple Object wizard. Plus, properly initialize and cleanup your COM objects with FinalConstruct() and FinalRelease().
This article explains how it is possible to seamlessly set breakpoints, step into, set watches and examine local variables for .NET framework classes as well as any other managed assemblies.
A library that provides an easy to use class (CDecompressLibrary) that will detect and decompress into memory buffers an archive file (zip, gz, tar.gz).
This article provides an introduction to TangramLittle, a C++ Framework for MFC and the .NET Framework. Knowledge in MFC and the .NET Framework is assumed.
Introduction to the open-source hxGrid library for distributed computing. Main benefits of the library: cluster uses only idle time of Windows 2000/XP/Vista workstation (no dedicated workstations required); easy to use; free.
With this tool the developer can define the application prerequisites and install the correct version of these components in the correct order based on the user operating system type and language, allow the user to download these components from the web or install these components directly.
An object oriented drawing component for building GIS and CAM applications with multiple views of geometrical model, multiple resolution handling, layers, optimized graphics and more.
A 'drop-in' FTP solution for applications providing a full GUI, extended commandline options and no resource files. Use standalone or compiled into your own app.
This light, yet very usable, application notifies users when new mail is received on multiple GMail (and other) accounts. Written in C++/MFC. No .NET framework, no browser instances launched, low system resource requirements!
This article shows you how you can let your users type mathematical equations in popular TeX format and render them as GIF images in your web and desktop applications with just 10 minutes of coding effort.
This article shows an implementation of the main TCP/UDP functions of the IP Helper API that is used to get info about active connections including the process attached to a connection.
This article explains a simple way to extract the boot-image from a CD/DVD (El Torito). It just uses CreateFile and ReadFile... no mystery about APSI-programming.
A VS.NET sample add-in that finds and bookmarks all occurrences of a selected text. The add-in creates a new menu item in the Code Window's context menu.
This article is discussing the performance problems found in the most notable find_first_of implementations and suggests useful improvements and workarounds.
This graphical application will play and display frequencies and mix them together so that you can analyze what's really going on with sounds that we call intone. Handling a basic DFT version that will prove to us which frequencies are involved. It was originally made in plain C.
Getting an ActiveX control to be printable from within an Office application can be difficult. This article shows you why, and how to make things work.
This is an article just to describe how to use WMI with Visual C++ 6. I had to do this for one of my projects and I finally came up with this solution. I hope this will be beneficial to others as well.
This article describes GridCtrl that consists of common controls such as EditBox, ComboBox and Button. The GridCtrl helps you create, exchange and manage layouts.
The article shows large number arithmetic using an array of long integers. Addition, Subtraction and Multiplication operations are handled in the version of the program
Surprisingly, neither the C++ runtime library nor the Win32 Platform SDK provides any routines to read and write Unicode text files. This article provides high performance routines to read all types of Unicode files (both UTF-16 and UTF-8) as well as ANSI files.
This article covers calling Java functions from C using JNI. It also covers passing/returning simple parameters, arrays, and structure arrays in Java functions.
This is yet another example for memory mapped files. What is cool though is unlike other samples, I have a SetData(TCHAR* Key, TCHAR* value) / GetData(TCHAR* key) pattern here.
Ever came across a declaration like int * (* (*fp1) (int) ) [10]; or something similar that you couldn't fathom? This article will teach you to interpret such complex C/C++ declarations, including the use of typedef, const, and function pointers.
An article on how you can make sure that you override an existing function in a base class, so that if the base class function is changed without your knowledge, you get an error.
Introduces the Double Metaphone algorithm for phonetic comparison of proper names, and provides a practical C++ implementation for use in the reader's projects.
VB.NET and C# offer property procedures that execute code when the value of a property is set or retrieved. With novel use of code, C++ classes can have them too!
A general overview of Internet technologies including what the Internet actually is, what HTML and XML are, using Web forms, CGI/MIME, IIS ISAPI, ASP and creating HTML based front ends to databases via ODBC32, OLE DB, ADO and ASP.NET
Demonstrates an innovative way to invoke hidden commands to show modal dialogs such as "Add To Favorite" dialog, "Import/Export Wizard" dialog in your WebBrowser-based application.
The article describes the optimization of an image convolution operation with the application of linear rank deficient filters in computer vision problems.
When loading a keyboard dll as a 32-bit application on a 64-bit system, the keyboard-dll-files does not work as expected, this class fixes that problem
Map component for building GIS and CAD/CAM applications. Reads most of the vector and raster formats, performs coordinate system transformations, accesses aerial photography via web services and more.
An article on how to create an ActiveX control for Excel, and the technique to create an arrow using GDI+, some secondary school mathematics here, and some technique to link cell with Excel.
This article shows a set of templates created around the Microsoft Cabinet library. With these templates, you can extract cabinet files and cabinets stored in the resource section of a module. It can be easily extended to allow extraction through other means.