Motif Application Initialization Procedure
Widget top = XtInitialize("", "Program", NULL, NULL, (Cardinal*)&argc, argv);
if (!top) {
IlvFatalError("Couldn’t open display");
exit(1);
}
IlvDisplay* display = new IlvDisplay(XtDisplay(top), "X");
Here, standard Xt function calls initialize the connection. You have to specify the application name in the constructor of
IlvDisplay to be able to find display resources from this string.
Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.