Re: XForms: fl_get_clock()

John Prinos (t47851@perf2.dehavilland.ca)
Thu, 5 Feb 1998 10:44:46 -0500

# To subscribers of the xforms list from "John Prinos" <t47851@perf2.dehavilland.ca> :

On Feb 5, 8:39am, Hui Liang wrote:
> Subject: XForms: fl_get_clock()
> # To subscribers of the xforms list from Hui Liang <hui@boxhill.com> :
>
> I am currently working on some log program. In my forms, I create an "clock"
object
> called "DigitalClock". When I try to get the time from this object by
calling the
> "fl_get_clock()" function, it kept giving me the "bus dump" error. The
command I
> execute is as follow:
>
> fl_get_clock(DataScreen->DigitalClock, hh, mm, ss)
>
> Any suggestion? Thanks in advance!
>-- End of excerpt from Hui Liang

Try:

fl_get_clock(DataScreen->DigitalClock, &hh, &mm, &ss);

Looking at the manual, hh, mm, ss are pointers to int, not int.

J0hn

-- 
 *       *     **    *****   *     ***   ***
 *       *    *  *       *   *    *   * *   *
 *       *     **        *   *   *     *     *
  *******    ******   ****   *   *     *     *
   *   *       **        *   *   *     *     *
    * *       *  *       *        *   * *   *
     *        *  *   *****   *     ***   ***
 
 John Prinos
 Aircraft Performance 
 Bombardier DeHavilland
 (416) 375-3574
 <jprinos@dehavilland.ca>
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil   or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/