Jump to content

Clipe Informática

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by Clipe Informática

  1. Hi,

    I installed a hyper server on a Windows Server 2019 and I´m trying to configure the SSL access. However when I try to start the service it does not work. The log give me this info:

    hyper_service.exe: 00001290: 21:46:23 []:>--------------------------------------------------------------<
    hyper_service.exe: 00001290: 21:46:23 [TUniServerModule]:Server First Init.
    hyper_service.exe: 00001290: 21:46:23 [TUniServerModule]:Start Path = C:\xxxxx\
    hyper_service.exe: 00001290: 21:46:23 [TUniHyperServer]:InitInterceptor
    hyper_service.exe: 00001290: 21:46:23 [Transport.PoolSize]:516
    hyper_service.exe: 00001290: 21:46:25 [TUniServerModule]:Starting HTTP Server on Port: 443...
    hyper_service.exe: 00001290: 21:46:25 [InitWebServer]:EIdOSSLCouldNotLoadSSLLibrary : Could not load SSL library. : Addr: $0000000000A1F554
    hyper_service.exe: 00001290: 21:46:25 [TUniServerModule]:Shutting Down Server.
    hyper_service.exe: 00001290: 21:46:25 [TUniHyperServer]:Terminating...
    hyper_service.exe: 00001290: 21:46:25 [TUniHyperNodeManager]:Terminating...
    hyper_service.exe: 00001290: 21:46:26 [TUniHyperNodeManager]:Terminated.
    hyper_service.exe: 00001290: 21:46:26 [TUniServerModule]:Stopping HTTP Server.
    hyper_service.exe: 00001290: 21:46:27 [TUniServerModule]:HTTP Server Stopped.
    hyper_service.exe: 00001290: 21:46:27 [TUniGUISessionManager]:Terminating Session manager.
    hyper_service.exe: 00001290: 21:46:27 [TUniGUISessionManager]:Stopping Cache Eraser...
    hyper_service.exe: 00001290: 21:46:27 [TUniGUISessionManager]:Cache Eraser Stopped.
    hyper_service.exe: 00001290: 21:46:27 [TUniGUISessionManager]:Destroying Worker Threads.
    hyper_service.exe: 00001290: 21:46:27 [TUniGUISessionManager]:Session manager terminated.
    hyper_service.exe: 00001290: 21:46:27 [TUniHyperServer]:Terminated.
    hyper_service.exe: 00001290: 21:46:27 [TUniServerModule]:Server Shutdown Completed.
    hyper_service.exe: 00001290: 21:46:27 []:<-------------------------------------------------------------->
    hyper_service.exe: 00001284: 21:46:27 [Terminated]:Exit Code: 0

    I already put the ssleay32 and libeay32 dlls on the hyper server folder, as well in the system32 and sysWOW64 folders.

    My cfg file for SSL is like this:

    object TUniHyperSSL
      SSL.Enabled = True
      SSL.SSLOptions.RootCertFile = 'root.pem'
      SSL.SSLOptions.CertFile = 'cert.pem'
      SSL.SSLOptions.KeyFile = 'key.pem'
      SSL.SSLOptions.Method = sslvTLSv1_1
      SSL.SSLOptions.SSLVersions = [sslvTLSv1_1]
      SSL.SSLOptions.Mode = sslmUnassigned
      SSL.SSLOptions.VerifyMode = []
      SSL.SSLOptions.VerifyDepth = 0
      SSL.SSLPort = 443
    end

    Why am I still getting the " Could not load SSL library" error?

  2. In order to change the font size for the UniTreeMenu I needed to use the option LayoutConfig->Cls and then create an CSS class on the custom CSS of the ServerModule. That maded it work for the menu it self. However in the micro mode of the menu, the custom CSS does not affect the appearance of the menu. Here are some prints:

    Custom CSS:

    image.png.d89f1d4d95e0bfdc4e8f01e8f59b47c5.png

    The menu with the correct font size:

    image.png.1bb6b896c6f0dd9564bdaa2cd260600a.png

    The menu in the micro mode with the wrong font size:

    image.png.7634ed4e5cf17d37349df8a56e21d87e.png

    Is there some other class that should be created on the custom CSS to make the micro mode of the menu have the same font size of the regular menu?

  3. FYI, i tried your suggestion and still the form is shown. That's how i made it:

    var
      vSF0270 : TSF0270;
    begin
      inherited;
      vSF0270 := TSF0270.Create(UniApplication);
      vSF0270.Parent:= Nil;
      UniSession.Synchronize;  //<- the form is shown
      vSF0270.Close;           //<- this does not hides the form
      vSF0270.x:= 'bla bla bla';
      UniSession.Synchronize;  //<- the form is still being shown
      sleep(5000);
      vSF0270.x:= vSF0270.x + 'x';
      UniSession.Synchronize;
      showmessage(vSF0270.x);  //<- the form is still being shown behind the message
      freeandnil(vSF0270);     //<- only here the form disappears

     

  4. I tried as you said, but it doesn't work as you said. Here is what happens:

    var
      vSF0270 : TSF0270;
    begin
      inherited;
      vSF0270 := TSF0270.Create(UniApplication);
      UniSession.Synchronize;  //<- the form is shown
      vSF0270.Close;           //<- this does not hides the form
      vSF0270.x:= 'bla bla bla';
      UniSession.Synchronize;  //<- the form is still being shown
      sleep(5000);
      vSF0270.x:= vSF0270.x + 'x';
      UniSession.Synchronize;
      showmessage(vSF0270.x);  //<- the form is still being shown behind the message
      freeandnil(vSF0270);     //<- only here the form disappears

    The form is only shown when I call "UniSession.Synchronize" and it keeps there until i call the freeandnil function.

  5. On 2/5/2021 at 5:29 PM, rgreat said:

    UniGUI forms are shown right after they are created. That's normal.

    You see, I´m migrating and old delphi application to uniGUI. On that app was normal to create a form just to call a function/procedure from it and then destroy it. I know its not the perfect/ideal way to do this, but it´s how was done.

    Now the problem is that i need to show some logs on the screen during the process, and for that i need to use "UniSession.Synchronize;" Only when the synchronize is called the form that was created in background is showen.

    There should be a way to create a form, use its methods/variables and destroy it without showing it in the process, even if i use "UniSession.Synchronize;"

    Does this already exists? Am i missing something?

  6. I have a situation where i create a form in background to use some methods from it. At some point i use the "UniSession.Synchronize" method and the form that i created in background is now beening shown at the screen. Why this happens? How can i avoid it? Here is the code:

    var
      vSF0270 : TSF0270;
    begin
      inherited;
      vSF0270 := TSF0270.Create(UniApplication);
      vSF0270.x:= 'bla bla bla';
      UniSession.Synchronize;
      showmessage(vSF0270.x);

    I'm using the professional version.

  7. I have some DbRadioGroups in my project and they were working 100%. However, today while doing maintenance on the screen, their caption stopped appearing at the time of execution.
    They are like this in the design of the form:

    image.png.df8ec278e3d57fdafd45cb1b0eb5b5a0.png

    But when you run they look like this:

    image.png.642456cda1046e95a6b4b9eaf72ca5d6.png

    And it happened even on screens that I didn't change anything. What can it be?

  8. 2 hours ago, Marlon Nardi said:

    C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\ShowProgress

    this demo also uses the MainModule.EnableSynchronousOperations option as True. Im trying to do the application without that.

  9. I have a situation where I call a form where some parameters are informed and after it I have a callback that runs a long process.


    How do I put a screen mask during the execution of the routine inside the callback?


    I've seen on another forum thread that I can do this in a MessageDlg callback by putting @@ inside the message text. But how do I do this in a form's callback?


    I'm using commercial version 1.90.0.1537 licensed.

×
×
  • Create New...