Re: XForms: C++ problems

Matthew Flax (flatmax@cse.unsw.EDU.AU)
Mon, 18 May 1998 10:41:34 +1000 (EST)

# To subscribers of the xforms list from Matthew Flax <flatmax@cse.unsw.EDU.AU> :

Have you checked the C++ example under the "contrib" directory on the
XForms server ?
This example shows how to address XForms using C++.

>From what I see of your problem, you might have to cast using
(FD_newbut*), but this is just a guess !!

On Sun, 17 May 1998, Phill Brady wrote:

> # To subscribers of the xforms list from Phill Brady <pab@jb.man.ac.uk> :
>
> Hi,
>
> I'm quite new to using both C++ and XForms and have been following
> through the xforms manual. When I attempt to access another object on the
> form from a callback function as described in the manual I get the error
>
> Error: Cannot use void* to initialize FD_newbut*.
> I am using the Sun CC compiler on Solaris.
> When I use cc and compile the code as c it works with no problems.
> Anyone know whats going on?
>
> Thanks
>
> Phill Brady
>
> --------------------------------------
> Phill Brady
> Nuffield Radio Astronomy Laboratories,
> Jodrell Bank,
> Cheshire,
> SK11 9DL
> --------------------------------------
>
> _________________________________________________
> 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://bragg.phys.uwm.edu/xforms
> List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/
>

Matt
__________
reverse ...
backwards needs forwards
want backwards - first go forwards
viva

_________________________________________________
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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/