Hi
A VB6 app written 8 years ago references Microsoft Jet and Replication Objects 2.6Library (MSJRO.DLL) and Microsoft ActiveX Data Objects 2.6 Library (msado26.tlb)
A part of the code calls JetEngine RefreshCache
I'm now trying to test this application on Windows 7 and Windows Server 2008 R2.
When my installer attempts to register MSJRO.DLL it returns
"The procedure entry point _LoadVersionedResourceEx@16 could not be located in the dynamic link library MSDART.DLL"
and then
"c:\windows\system32\MSJRO.DLL
Unable to register the DLL/OCX: Loadlibrary failed; code 127. The specified procedure could not be found."
I can select ignore and let the installer complete.
I can then see MSJRO.DLL and MSDART.DLL in C:\Windows\SysWOW64\
My testing of the application then seems to conclude OK.
Now my guess is RefreshCache must have been added to ensure the recordset (connected to an Access database) being read is upto date.
My testing did not seem to show any problems but the message regarding the registration of MSJRO.DLL concerns me.
Any ideas how I can confirm whether it did register correctly to allow a RefreshCache command to conclude successfully?
Alternatively how I can work around the need to call RefreshCache/register MSJRO.DLL. For example if I reference a more recent Microsoft ActiveX Data Objects library may this remove the need to call RefreshCache? Or update the Access database to a newer version (it's currently Access 2000 file format)?
Yours in hope.
A VB6 app written 8 years ago references Microsoft Jet and Replication Objects 2.6Library (MSJRO.DLL) and Microsoft ActiveX Data Objects 2.6 Library (msado26.tlb)
A part of the code calls JetEngine RefreshCache
Code:
Dim je As New JRO.JetEngine
...
je.RefreshCache gcnn1
I'm now trying to test this application on Windows 7 and Windows Server 2008 R2.
When my installer attempts to register MSJRO.DLL it returns
"The procedure entry point _LoadVersionedResourceEx@16 could not be located in the dynamic link library MSDART.DLL"
and then
"c:\windows\system32\MSJRO.DLL
Unable to register the DLL/OCX: Loadlibrary failed; code 127. The specified procedure could not be found."
I can select ignore and let the installer complete.
I can then see MSJRO.DLL and MSDART.DLL in C:\Windows\SysWOW64\
My testing of the application then seems to conclude OK.
Now my guess is RefreshCache must have been added to ensure the recordset (connected to an Access database) being read is upto date.
My testing did not seem to show any problems but the message regarding the registration of MSJRO.DLL concerns me.
Any ideas how I can confirm whether it did register correctly to allow a RefreshCache command to conclude successfully?
Alternatively how I can work around the need to call RefreshCache/register MSJRO.DLL. For example if I reference a more recent Microsoft ActiveX Data Objects library may this remove the need to call RefreshCache? Or update the Access database to a newer version (it's currently Access 2000 file format)?
Yours in hope.