Tip Bank

DevX - Software Development Resource

Virtual Function

Question: I’m surprised the following code doesn’t compile: class C1{public: virtual void f() { /* … */ } void f(bool) { /* … */ }};class C2 : public C1{public: void

DevX - Software Development Resource

Single Quotes in Queries

Question: When using PowerBuilder as a front end for doing SQL queries, I get the following pop-up message when I look for someone with a single quote in their name

DevX - Software Development Resource

Virtual and Non-Virtual

Question: Why would a call to a virtual function execute slower than a call to a non-virtual function? Answer: Because the call is resolved through an additional level of indirection?instead

DevX - Software Development Resource

Creating a Client E-mail List

Question: I am trying to create a client e-mail listing to go out to all our company clients. What would be the easiest way to do this? Answer: The easiest

DevX - Software Development Resource

Syntax Question

Question: What does “Today – @sub” equate to in Oracle and what does it mean? Answer: It doesn’t look like anything in Informix, and I couldn’t find any reference on

DevX - Software Development Resource

Onmonitor Program and Shared Memory

Question: When I start the Onmonitor program and run Status, I receive the message, “Unable to attach to shared memory.” But I have Informix 7.23 for AIX! What’s going on?

DevX - Software Development Resource

Searching PBD for User Object at Runtime

Question: I am currently writing a generic system where user object names are stored in a database and instantiated upon request. This is currently working beautifully, but I fall short

DevX - Software Development Resource

Entering Password at Startup

Question: How do I set up my Outlook 2000 client to autopopulate the user name and domain name in the Enter Password dialog box during startup? Answer: The best way