Shamil Salakhetdinov
shamil at users.mns.ru
Thu Dec 8 13:44:58 CST 2005
Paul, You can't deregister/register ActiveX DLLs while your application is running. Therefore you have to write a utility to check presence/absence of the certain version of .dlls, which should start before your apps start. You can use this code to collect DLL version info http://www.devx.com/vb2themax/Tip/18983 The rest is clear. Don't forget that project compatibility and even binary compatibility have be preserved and that preserving binary compatibility for VB6 ActiveX DLLs is a tough task sometimes - they get screwed such compatibility from time to time... Of you plan to use Win32 .DLLs ie. not ActiveX ones? HTH, Shamil ----- Original Message ----- From: "Paul Hartland (ISHARP)" <paul.hartland at isharp.co.uk> To: "'Access Developers discussion and problem solving'" <accessd at databaseadvisors.com> Sent: Thursday, December 08, 2005 6:29 PM Subject: [AccessD] Checking For Lastest DLL > To all, > > I am starting to write a lot of DLL's which I can use in almost everyone of > my programs, which I stored in a centralised folder accessible to everyone > and which currently have been registered to each workstation...As time goes > by I am going to be re-writing them and creating new ones, what I could do > with is a function which when the users open one of my programs, checks > which DLL's should be registered then checks that each one of them is the > latest. If they are missing any or they are using an older one to auto > register them it C:\Windows\System32. > > Has anyone done this or can point me in the right direction to ho to go > about this.... > > Thanks in advance for any help. > > Paul Hartland > Database Developer > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com