View Full Version : Help finding MDAC version and checking if a dll is shared
6th July 2001, 14:36
I would like to find out first if MDAC is installed at all and then which version that is installed. Does anyone have any input on this?
Also, is there a way to find out if a dll is shared so that it can be removed?
13th July 2001, 05:58
Since I got no replies I assume that no one has a solution for this problem. So I solved it by creating two small c++-programs that did the job for me.
Koen van de Sande
13th July 2001, 20:46
The only thing I can think of is 'registry, registry', that there might be some key which is created by MDAC.
Also, a reference count of DLL's is kept somewhere, but I don't know where.
Not a very useful reply, because I don't really know. Sorry.
14th November 2003, 16:45
You can check for the MDAC version in the registry ... this article will help.
And I'm planning on writing a function for this and putting it in the archives, later today.
14th November 2003, 18:47
and here it is:
14th November 2003, 19:05
You'd better parse that string and compare the version number, to make it support any future versions.
14th November 2003, 21:14
That's on the "to do" list. I just wanted to get an example up since I was looking early this AM for something similar, found nothing, and wanted to get something into my installer quickly. :)
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.