Tip Bank

DevX

A const member function

Whenever you define a class member function which does not (and should not) change its object, it’s a good idea to define it as a const member function. There are

DevX

Activate Your Applets

Did you ever feel the urge to use a nice Java class you just wrote as an ActiveX object on your Windows machine? Good news: you can do it in

DevX

External function for checking a process

Question: Our Powerbuilder application launches an external program using the RUN command. We use the Timer Event to keep checkingif the process is running by using theKERNAL32 external function GetModuleHandleA.

DevX

Accessing I/O Memory under Win32

Question: I would like to program the parallel port in Windows NT or 95. What should I do? Answer: At the simplest level, accessing the parallel port involves reading and

DevX

Wild card searching using DataWindow

Question: I tried to place wild-card (e.g. ‘%Ken%’) for the searching of records in a DataWindow through QueryMode, but couldn’t get the result. Are there any other ways to do

DevX

DOS Graphics vs. Windows

Question: Is there a header file in Visual C++ v4 (sorry a bit behind :)) that replaces the old graph.h? I am writing console apps for school and would like

DevX

Autolaunch library PB configuration

Question: When I open PowerBuilder, I want it to open showing the library painter by default. I tried modifying the Target in the Propeties for the PowerBuilder icon by adding

DevX

Out of Memory errors in Delphi 2.0

Question: I am working on my first Delphi 2.0 application which has grown to be quite large over the past few months. The problem is that lately I have been

DevX

PowerBuilder dynamic menus

Question: We want to create menus dynamically where we store the menu items in a table. While running the application, we want to read the values from the table and