Finding link-time CEGUI version

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

wondersye
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Sun May 22, 2011 16:04

Finding link-time CEGUI version

Postby wondersye » Sun Jun 12, 2011 19:09

Hi,

I have seen that System::initialiseVersionString() updates d_strVersion, which apparently is private and has no public accessor.
It would be nice if a user program could retrieve easily the version of the CEGUI library it has been dynamically linked to, either as three numbers or as a string (ex: "0.7.5"). That way some checking could be done, and more generally this information could be useful for user-level code.

Unless there is another way of retrieving that version number?

(as for the compile-time version, it seems to be available from include/CEGUIVersion.h (#define CEGUI_VERSION_MINOR and al))

Thanks,

Olivier Boudeville.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Finding link-time CEGUI version

Postby CrazyEddie » Mon Jun 13, 2011 07:31

I had a quick look and it seems that unfortunately this information is not currently available at runtime. Please add a request on the mantis tracker to see the added :)

CE.

wondersye
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Sun May 22, 2011 16:04

Re: Finding link-time CEGUI version

Postby wondersye » Tue Jun 14, 2011 14:36

CrazyEddie wrote:I had a quick look and it seems that unfortunately this information is not currently available at runtime. Please add a request on the mantis tracker to see the added :)

CE.


Done! (http://www.cegui.org.uk/mantis/view.php?id=459)


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 4 guests