Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / ? C++: How would I detect what version of DGK was running

Author
Message
Timidon
18
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 24th May 2014 10:20
I am thinking I might be running into a compatibility issue.

How would I be able read what version DGK I am running?

a Command like? dbGetVersion()?

There are many answers but just one question" ~ Jerilith the Mad
The Tall Man
10
Years of Service
User Offline
Joined: 16th Nov 2013
Location: Earth
Posted: 24th May 2014 18:02 Edited at: 24th May 2014 18:03
I just searched through the source code. And no version command, variable, or constant exists for (or that correlates to) a DarkGDK version. Although my search was only for anything containing "version" in it. It would have been nice if they'd thought about that earlier.

What you could do though is add it yourself as a #defined constant in one of the include files for all versions that you have. That way you could get your own code to work with all versions, if you wanted to... for example to see if a later version broke something that had worked earlier.

Judging what we see is the greatest blinder and self-limiter in the universe.

What we perceive is never reality. It is only a story we tell ourselves based on our current perspective, which has far more to do with our beliefs about ourselves than with anything else.
Timidon
18
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 26th May 2014 04:21
Thanks, thats what I was thinking about.

There are many answers but just one question" ~ Jerilith the Mad

Login to post a reply

Server time is: 2024-03-28 21:45:12
Your offset time is: 2024-03-28 21:45:12