devxlogo

Tip Bank

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

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

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

Restoring Tables

Question: Does SQL 7.0 allow you to restore a table from a database dump much the way SQL 6.5 did? Answer: No, not exactly. The only way you can restore

Comparing Columns from Different Tables

Question: I have a problem comparing columns from different tables. I tried: SELECT tblThumBereinigt.Nummer, dbo_BABEWERTUNG.BANUMMERFROM dbo_BABEWERTUNG, tblThumBereinigtWHERE (((dbo_BABEWERTUNG.BANUMMER)[tblThumBereinigt].[Nummer])); but this does not give me what I want. How can I

Using DTS

Question: Is it possible to create a DTS package that does an Update rather than a Select statement? Also, when I save a DTS package in a file (*.dts as

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