Get the current driver version, programmatically

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
pelle
Posts: 4
Joined: Mon Nov 27, 2023 12:14 am

Get the current driver version, programmatically

Post by pelle »

I would like to get the version of the installed (e.g. currently used) 3Dconnexion drivers, programmatically. Is there a supported/preferred API for that?

The reason for asking is that I would like to print the version in our application's log file, so that our first line support can avoid one round-trip ("are you on the latest drivers.."). The question thus applies to both Windows and Mac.

Cheers,
Pelle
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Get the current driver version, programmatically

Post by jwick »

We don't ATM have a platform-independent API to inform about the current update status. I like the idea though.
There is an "update available" notice in the GUI. Per platform, we could probably tell you how to find the underlying flag.

I'd like to know why you care. Have you actually found dependencies on our software releases? That's not something I expect at all. The only visible functional difference from release to release should be the addition of support for new applications, and occasionally, devices.

With only very rare circumstances (major changes to the application), once an application is supported, it should not matter what software version is installed.
ngomes
Moderator
Moderator
Posts: 3431
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: Get the current driver version, programmatically

Post by ngomes »

Although not documented, on Windows our software will save the version on the Registry. Specifically, the driver (3DxWinCore) version is saved under HKLM\SOFTWARE\3Dconnexion\3DxWare ("Version" value, a REG_SZ string) and the 3DxWare 10 version is in HKLM\SOFTWARE\3Dconnexion\3DxSoftware, if I'm not mistaken.

Note the usual caveats: not documented > may change without notice > etc.
Nuno Gomes
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Get the current driver version, programmatically

Post by jwick »

There is a non-changing API function to return the current version...on Windows.
pelle
Posts: 4
Joined: Mon Nov 27, 2023 12:14 am

Re: Get the current driver version, programmatically

Post by pelle »

jwick wrote: Fri May 16, 2025 12:13 am I'd like to know why you care. Have you actually found dependencies on our software releases?
None found so far, and we're not looking. ;) But in case of an issue, it's nice to get the version of dependent software included by default. Makes it easier if there's an issue to replicate, and you don't have to ask the user what version they're on - it's already in the support package/log.
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Get the current driver version, programmatically

Post by jwick »

Sign up on our developer support page. We'll send you some code.
Post Reply