check if dll is registred as x32 or loaded to Out_of_process
-
I have a win32 COM which is developped to work as win32 and it can be registred to run as surrogate dll with client application x64. 1) Before modification of it to be called into out_of_procces,this dll use Microssoft.Jet.oledb.4 to connect and create mdb files.and this was working fine. 2) after the modification to let this dll be loadded by x64 application as surrogate and changing the Microsoft.Jet.oledb by Microsoft.ACE This dll not work now when version of office is x64. And this is normal because it is x32 Questions: - can i check at run time if the dll is registred as x32 or x64 ? - if yes can i define the driver of office related to the version of dll at run time Ie: If registred as 32 then use Microsoft.Jet.oledb Else if dll surrogate (x64) then use Microsoft.ACE Thank you
-
I have a win32 COM which is developped to work as win32 and it can be registred to run as surrogate dll with client application x64. 1) Before modification of it to be called into out_of_procces,this dll use Microssoft.Jet.oledb.4 to connect and create mdb files.and this was working fine. 2) after the modification to let this dll be loadded by x64 application as surrogate and changing the Microsoft.Jet.oledb by Microsoft.ACE This dll not work now when version of office is x64. And this is normal because it is x32 Questions: - can i check at run time if the dll is registred as x32 or x64 ? - if yes can i define the driver of office related to the version of dll at run time Ie: If registred as 32 then use Microsoft.Jet.oledb Else if dll surrogate (x64) then use Microsoft.ACE Thank you