# To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :
> Problem: If netscape is running, my XForms-Application dies
> in fl_initialize() with segmentation fault.
>
> Question: Is there a possibility to avoid this ?
>
> Software should be able to detect the fact that colors are not
> available (fdesign does, but I didn't find out how up to now).
Hm. Since `fdesign' is based on XForms and calls fl_initialize() at
startup, it seems to me that if it works your app should work, too.
Can you provide a traceback?
Are you setting any unusual options when with fl_set_defaults() before
calling fl_initialize()?
`fdesign' asks for the default Visual, turns off double buffering,
sets the browser font size, and asks for a shared colormap:
cntl.vclass = FL_DefaultVisual;
cntl.doubleBuffer = 0;
cntl.browserFontSize = FL_NORMAL_FONT;
mask = FL_PDVisual | FL_PDDouble | FL_PDBrowserFontSize;
cntl.sharedColormap = 1;
mask |= FL_PDSharedMap;
fl_set_defaults(mask, &cntl);
then calls fl_initialize() in the standard manner.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Sat Jul 08 2000 - 13:25:56 EDT