Prog_Bar Frequently Asked Questions
Answers
Prog_bar does not work with Storm C. I am able to link it correctly but when I run the program the bar does not appear.
This problem is caused by the parameters to the Prog_bar functions being passed incorrectly by the compiler (perhaps correctly would be a better choice of word).
The function prototypes are defined incorrectly in the Prog_bar include file. Storm C then interprets this correctly and passes the wrong information to the library functions. Dice C and SAS/C work fine because they pass parameters as longword values, regardless of how they are defined.
The solution is to get the latest version of the header files from the downloads page, or to change the function prototypes so that all UWORDS become ULONGS (CARDINAL changes to LONGCARD in the Modula-2 header file).
(Page 6 of 6)