nv-l

Re: [nv-l] Launching NV 7.1 on xwindow on HP-UX

2002-07-26 16:26:53
Subject: Re: [nv-l] Launching NV 7.1 on xwindow on HP-UX
From: "Stephen Hochstetler" <shochste AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 26 Jul 2002 15:26:53 -0500
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 AT us.ibm DOT com
International Technical Support Organization  - Austin
Office - 512-436-8564                      FAX - 512-436-9326

ITSO redbooks at  http://www.redbooks.ibm.com


<Prev in Thread] Current Thread [Next in Thread>