Use the std::tr1::function Class to Generalize Callbacks
or a C++ programmer, the term “a callback function” means at least three different things: a pointer to a freestanding function (i.e., a C function), a pointer to a member
or a C++ programmer, the term “a callback function” means at least three different things: a pointer to a freestanding function (i.e., a C function), a pointer to a member
hen I first saw attributes in Visual Studio .NET, I thought they were some sort of oddity Microsoft had dragged in from Java, C++, or perhaps the Delta Quadrant. They
This code shows you how to use the instance methods from the FileReader and BufferedReader classes with a Xalan 2 processor to read the first line from a text file.
Have you ever looped through the entire dataset to get the totals you need to put in the footer? The DataTable.Compute method eliminates this hassle by retrieving commonly performed arithemetic
Removing an unused Window service involves removing your registry key. Go to Start?>Run?>regedit. Find the key: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services Locate the service name you want to remove. Press key to remove the
sers want their forms to be in the same position the next time they open their application. While Visual Studio 2005 out of the box provides a way to store
he core of any Web site is the navigation mechanism, the menu. If Web sites are primarily about organizing and presenting content, a site’s menu provides the means of traversing
n Part 2 of this article series, you looked at Linq’s query features, including the standard query operators and their applicability in querying XML data. With that background, this installment
f your software development lifecycle is anything like mine, it has several phases that each requires its own project configurations?which can make moving a project through all the different phases
penGL has long been a standard interface for 3D graphics development. Developed by SGI, its only real competitor today is Microsoft’s Direct3D. Unfortunately, until recently there’s been no mobile analogue
n my last article on Atlas, I gave you an introduction to the Atlas framework and showed you how to use the UpdatePanel control to update portions of pages without
s business becomes more and more global, software developers increasingly need to make applications multilingual and culturally aware. The .NET Framework may well have the most comprehensive support for internationalization
henever you have to fix a problem in a production environment, one of the most common issues is retrieving some useful debug information to tell you what happened. Of course,
evelopers frequently must work with data at different levels, with different tools, and in different forms. This article is the first in a two-part series on some of the more
rior to Window Mobile 5.0 (WM5) even simple things such as checking battery status, sending an SMS, or programming Pocket Outlook were rather difficult. Fortunately, WM5 came with new managed
oftware development professionals today are faced with a bewildering array of technology choices. It is not always easy to decide which technologies are most appropriate to employ in solving any
icrosoft Windows Workflow Foundation (WF) consists of a programming model, an engine, and several tools for building workflow-enabled applications. The programming model resides in the System.Workflow namespace of Microsoft’s .NET
ust as Microsoft provides a native desktop UI toolkit called Windows Forms that ships with Microsoft .NET, the Mono project provides a compatible implementation of this same API, making it
n my inaugural article on how to integrate your .NET applications with external devices, I showed how to display system information using an LCD display. In this article, I will
Frequently, and especially during development and debugging, you want to write out the values of a variable. To distinguish these variables, label them by putting this directive in: #define PUTOUT(x)
Using the column index to hide columns in a DataGrid can pose a problem if the index changes. Here’s a quick workaround for when the columns are auto-generated. Using column
To display justified text in a table cell, use the HTML tag within the tag with the attribute align set to “justify.” So, instead of using:
nd-user JavaScript bugs would be easier to debug if you had access to the end-user’s computer. Since you don’t, you can do the next best thing: get users to send
XCop is a free code analysis tool (open source) from Microsoft that analyzes managed .NET assemblies. .NET assemblies contain metadata entries that describe the assembly and all its contained types.
f you’re an Oracle PL/SQL developer, you have two familiar needs: Include as much debugging code as possible without risking a performance hit when the code is running in production
hen designing an RFID system, you should first understand and consider two key aspects of turning RFID data into useful information. First, you need a way to convert the raw
n a previous article on Windows Workflow, I discussed the basics of workflow and how workflows can be hosted in your Windows and console applications using the WorkflowRuntime class. In
lot of articles have been written about database concurrency conflict detection and the various ways of handling them. Unfortunately most of these articles, and accompanying solutions, have one major flaw
The following code shows you how to simulate the “ping” command with the J2SE Tiger InetAddress.isReachable method. import java.io.*;import java.net.*;public class reachable{ public static void main(String args[]) { String[] addrs=
You know that you can extract constructors, methods, and variables from a Java class file. Generally, when you use Field fields[] = c.getDeclaredFields( ); where c is initialized using Class