UniGuy Posted August 13, 2021 Share Posted August 13, 2021 Hello, dear developers and users of uniGUI! This urgent, but extremely important question made me turn to you for help. I use the trial version of uniGUI, because in case of a successful test, I plan to purchase the product. I need to call my DLL created in a regular Delphi VCL-Application from the uniGUI application (the application runs on IIS). If I create a VCL-Application project and call this DLL from there, there are no problems - the procedure from the DLL is called. But if I try to do the same in uniGUI, then the called procedure is not executed. After calling the procedure, a Connection Error occurs. A procedure from the library simply opens a form that is located in the same library. I have a feeling that I am not doing the call correctly. Here is the procedure from the DLL, it shows a form named "OneFORM": procedure ShFrm(AOwner: TComponent); var MyForm: TOneForm; begin MyForm := TOneForm.Create(AOwner); MyForm.ShowModal; MyForm.Free; end; Here is a procedure declaration in the uniGUI application: procedure ShFrm(AOwner: TComponent); external 'ExampleDLL.dll'; The calling itself: ShFrm(UniApplication); What am I doing wrong here?... Please, help me anyone! Link to comment Share on other sites More sharing options...
Recommended Posts