Tip Bank

DevX - Software Development Resource

The New __FUNCTION__ Macro

In addition to the traditional macros __DATE__, __LINE__, and __FILE__, which are defined by ANSI C, the new C9X Draft Standard also defines the macro __FUNCTION__. __FUNCTION__ is expanded as

DevX - Software Development Resource

Is it Possible to Decompile an Executable?

Another frequently asked question in C++ newsgroups: “Is there a tool that decompiles an executable program back into C++ source code?” The short answer is “no, there isn’t”. The longer

DevX - Software Development Resource

Force an Object to Destroy Itself

Sometimes, you need to force an object to destroy itself because its destructor performs an operation needed immediately. For example, when you want to release a mutex or close a

DevX - Software Development Resource

Determine Visible Part of a Window

Programmers often need to know whether only a part of a window is visible. This can require a difficult calculation with coordinates. Use this routine to easily determine the visible

DevX - Software Development Resource

Limited Dynamic SQL

Question: I am a technical copywriter currently writing a fact sheet for a software company providing DB2 SQL support. They have something they want to call “limited dynamic SQL.” Here’s

DevX - Software Development Resource

Problems with ADO

Question: I was out on the Fox newsgroup and somebody posted some ADO code in Visual FoxPro that alarmed me. VFP seems to have a major problem repeatedly accessing the

DevX - Software Development Resource

DTS & Data Driven Query Task

Question: I am trying to import data from a .CSV file and verify that the rec importing does not exist on the destination database (SQL7 DB), then either insert or