Leslie,
Subject: 15)* How can I find which version of Motif I have? Xlib or Xt
version?
[Last modified: Jan 02]
Answer: The macro XmVERSION gives you the version number. The macro
XmREVISION gives you the major revision number. The macro XmVersion
combines
these e.g. a value of 1002 is Motif 1.2. In Motif 1.2, the macro
XmUPDATE_LEVEL was added to give the minor revision number (also known as
the
patch level).
To find the version of a compiled Motif library:
grep XmVERSION_STRING libXm.a
To find the Motif version at run-time, use the global variable:
xmUseVersion
found on site http://www.faqs.org/faqs/motif-faq/part1/
Kind regards,
Stephen Hochstetler shochste@us.ibm.com
International Technical Support Organization - Austin
Office - 512-436-8564 FAX - 512-436-9326
ITSO redbooks at http://www.redbooks.ibm.com
|