Hints for new users1. The BX PRO Installation notes assume that you are installing a purchased product and so direct you to install the FlexLM license server. You do not need to install FlexLM to evaluate BX PRO! For UNIX workstation users (Sun, HP, Compaq, SGI, and IBM), you should have received a letter with your evaluation software that provides the license key and the instructions on how to use the key. For Linux users, you should have received a key and the accompanying instructions by email. (Keys and key installations differ between UNIX and Linux systems.) If this letter or email has become misplaced, send me email to info@ics.com and we'll make sure the appropriate key and instructions are emailed to you. 2. The EnhancementPak library included with the BX PRO eval, also
requires
a
key to run applications. You can build an application using EnhancementPak
widgets, and you can even generate code, compile it and link it. However,
when you try to run your application, it will terminate on the first call
to the EnhancementPak library if you do not have this key installed. The
instructions mentioned in #2 above also cover the EnhancementPak key and
describe how to install it.
3. Make sure you start BX v5.0 by invoking a script called "bx50" and not just "bx". If you don't, you will get BX running without any of its resources specified or key environment variables defined, and it will appear broken when it actually is not! 4. Please be sure to grab the latest tutorials and updates from our web
site
at: 5. Online documentation is available for BX under the "Help" menu in
the
main window. If you would like documentation on EnhancementPak or ViewKit
(both libraries are included with your BX PRO eval), you can read the
latest
versions at:
6. If on BX startup you get the message "The requested feature is not available for Full use..." then you do not have a valid license key for BX. If you received your license key via email, it is very common for some mailers to wrap the text and create an invalid key. The key should be all on one line without any line breaks. If you cannot get your key to work, or you don't have a key, please send email to info@ics.com and we'll have a new key sent to you right away. Once you have received this new license, you will be able to make full and unhindered use of BX for the trial period of the license. 7. In addition to the GUI builder, BX PRO includes two libraries: ViewKit and EnhancementPak. Depending on your configuration, you may or may not see these libraries on the palette.
8. Since ViewKit is a comprehensive C++ class library and application framework, it can be confusing at first. To define your components, you should work in "Class Mode". Once you've defined your components, create instances of them in "Instance Mode". This is in contrast to building a standard C-based Motif GUI where you operate completely in instance mode. 9. Once you have your GUI defined, make sure you setup the code generation preferences for each of the different language modes you will be using: C, C++, ViewKit, UIL, and Java AWT. This can be done by setting the appropriate values in the "Code Generation Preferences" dialog box that can be brought up by selecting the browser window's "Options" and "Code Generation Preferences" menu. 10. The compile options and link line for the generated code will vary
depending on your system and how things are installed on it. If you are
using Linux, you may want to use the following as a starting point: (the
makefile options are available from the "Makefile" tab in the "Code
Generations Preferences" dialog box):
11. If at some point you find yourself with multiple copies of all the
Motif
widgets on your palette, please execute the command:
12. To make things clearer while doing your layout, you may want to change the background color of your highest level container widget. Since they all have the same background color, they tend to go "invisible" when layered on top of each other. 13. Don't click the window managers' close icon on any of the main BX PRO windows (Browser, Resource Editor, Palette) unless you really want to quit BX. Although we try to handle such events and close gracefully, some window managers do not follow standard protocol in such situations. Consequently, it is best to close BX from the File menu in the Browser window and avoid the temptation to use the window close icon. If you don't need a BX window at the moment, you can use the iconify function of your window manager. 14. If you are moving palette items around, do not drag one onto another. Instead drag it to the empty space in the group to avoid confusing BX. Work is underway to disambiguate things. 15. We sponsor a very active and free online forum monitored by the best Motif and X developers in the business. We invite you to partake of it at: http://www.motifzone.net |