Tip Bank

DevX - Software Development Resource

Client Licensing

Question: What is the most cost-effective engine and method for licensing clients in client/server applications? Answer: For PowerBuilder applications, the runtime license for clients is free. You can have a

DevX - Software Development Resource

Image Change Script

Question: I am trying to get an image change script to be downward compatible, but Internet Explorer 3.0 does not recognize MouseOvers. Is there another way to do an image

DevX - Software Development Resource

Unions in C++

Question: I am trying to find some information on Unions in C++, specifically syntax and some type of example and perhaps a discussion as to when and why they are

DevX - Software Development Resource

How do I get a null-terminate string in PB?

Question: When I use Windows API functions in PB, the null-terminate string is often needed. For example, when I use GetSaveFileName,the parameter lpstrFilter is really a trouble to me. Please

DevX - Software Development Resource

Virtual functions

Question: If I have an abstract base class with a pure virtual function called get_data(), how do I declare the function in inherited classes to have different return types than

DevX - Software Development Resource

Powerbuilder / application directory

Question: How do I get the application directory for a PB5-16 app? Answer: You can use the API call GetCurrentDirectory when your application starts to find out its home directory.

DevX - Software Development Resource

System commands

Question: Is there a way for me to issue system commands (for example, DOS commands: dir, md temp, etc.) from within a C++ program? Answer: You can use the C