I just upgraded from Delphi 12.3, RemObjects Hydra - 6.6.0.1325, RemObjects Remoting SDK - 10.0.0.1585 to
Delphi 13.1, RemObjects Hydra - 6.6.0.1367, RemObjects Remoting SDK - 10.0.0.1621.
I have a Remobject server using Hydra plugins, there I have a data provider, log provider and so on that I want to keep open all the time.
So after lading modules I run through Factories to find it.
for i := 0 to HYModuleManager.ModuleCount - 1 do
begin
for j:= 0 to HYModuleManager.Modules[i].ModuleController.FactoryCount-1 do
begin
…
After upgrade Factory count is 0, after a lot for debugging I tracked it down to you using Cardinal for aModuleInstance instead of HMODULE in Hydra.VCL.PluginFactories.pas and Hydra.VCL.PluginFactories.pas.
So it do not work on 64 bit if loaded over 2GB limit
Hope you can fix this for next release.