gbassous
(gbassous)
February 19, 2019, 12:47pm
1
My Hydra non-visual plugins are not loading.
I am using Delphi Rio 10.3, Hydra 6.1.95.1207, RemObjects and DataAbstract 9.5.111.1399 on Windows 10 1809.
My plugins are HY/RO/DA services. When I try to load the plugin with ModuleManager.LoadModule, the program stalls at uHYCLRHelpers.IsVCLCompatible on FreeLibrary(Handle) (line 181).
No error message, just hangs.
EvgenyK
(Evgeny Karpov)
February 19, 2019, 1:29pm
2
Hi,
if you change call ModuleManager.LoadModule
with ModuleManager.LoadVCLModule
or with ModuleManager.LoadFireMonkeyModule
, will it improve situation ?
gbassous
(gbassous)
February 19, 2019, 3:56pm
3
Thank you, that works. However, I have an issue with unloading modules now. My non-visual plugins are not unloading, but my visual plugins are.
In uHYBaseModuleManager I call UnloadModules which calls UnloadModule(Index).
No error message, just hangs on line 345 UnloadModule(Modules[Index]);
EvgenyK
(Evgeny Karpov)
February 19, 2019, 3:57pm
4
Can you create a simple testcase that reproduces this issue, pls?
you can attach it here or drop directly to support@
gbassous
(gbassous)
February 20, 2019, 3:48pm
5
I sent a small example to support@ ROExample.zip Thank you!
Thanks, logged as bugs://82015
EvgenyK
(Evgeny Karpov)
February 21, 2019, 10:23am
7
open uDAConnectionManager.pas
and replace FreeOrDisposeOf(fTimer);
and FreeOrDisposeOfAndNil(fTimer);
calls with fTimer.Free; fTimer := nil;
after this, you should rebuild at least DA_Server
package
bugs://82015 got closed with status fixed.