Tips on using JLib
A quick list of things to do & not to do:
- Make sure you include <JLib.h> before anything else from the library.
- Mention the JLIB0150.LIB library at the link stage
- Make sure your program has the WINDOWAPI bit set.
- Don't create objects of class JPM yourself.
- If using the no-exceptions model, make sure the thread's exception
flag is clear before calling library functions.
- If you are using the real exceptions model, be sure to define the
REALLY_THROW_EXCEPTIONS symbol, or template collections will behave in the
wrong way.
- When using smart pointers, be careful that they don't delete your objects
when you think you're copying them...
- Make sure you've adopt()ed controls you wish to handle events
for using method #3.
John Fairhurst 11th June 1998