Jump to content

Frederick

uniGUI Subscriber
  • Posts

    608
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Frederick

  1. 5 hours ago, Roberto Nicchi said:

    I have used Indy compnents in unigui app with no problems.

    Maybe you miss some dll ? In indy i have to include the openssl dll if ssl is used.

    I did use Indy components initially for test connecting to my mail server but it failed at the SSL handshaking stage. For some weird reason, connecting to a Google mail server did not pose a problem.

    After revisiting Indy (because ICS does not work) in a new test project, connecting to my mail server and Google's mail server in 32 bit mode resulted in no errors. However, recompiling in 64 bit resulted in the same problems in my full project. I suspected that there were some issues with the SSL libraries and I read from a Google search that the SSL DLL files as installed by UniGUI should be copied to the app's output directory.

    I did so and now, both mail servers can be connected to in 64 bit mode without errors.

    Note: I am curious as to why the SSL DLL files in the Window's System32 directory are not referred to by the UniGUI app.

  2. 6 hours ago, Harry Rogers said:

    There is a thread from 2010 relating to ICS  -  Farshad's reply summed it up. Best of luck

    It seems that Overbyte components use Async TCP/IP communication which

    relies on Windows message events.

    This requires component to reside inside a thread which can receive Windows

    events. In unigui there are no such dedicated threads to sessions. Threads

    are created and controlled by the Web server and for sessions threads are

    only available during event execution. Moreover, it is not guaranteed that a

    session will be always served by same thread. It can thread A in first event

    and thread B in next event.

    This statement confirms that ICS was incompatible with UniGUI 11 years ago but it would have been reassuring for technical support to confirm that ICS does not work with UniGUI today.

  3. I created a test project that uses Overbyte's ICS to connect to a mail server. After entering the parameters and clicking the Connect button, nothing happens. The event that is attached to the SMTP component is never called.

    However, when I create the exact same project in a VCL application, everything works as expected. 

    What am I missing here?

    P.S.   I have attached the testcase.

    --
    Frederick
    (UniGUI Complete - Professional Edition 1.90.0.1551)
     

    icsconnect_ung.png

    icsconnect_win.png

    icsconnect.zip

  4. I haven't had any downtime issues with the VPS since I have used it for 2 years but the production application I run on it is not used often. I did read somewhere that a VPS is not really suitable for production use with a  high number of users because of its shared nature.

    In any case, thanks for the heads-up. I will monitor it when my other application which I expect to be used by more users at the same time goes live in a few months.

    With so many VPS vendors available, it would be easy enough to switch or I could go with a dedicated server solution.

  5. 3 hours ago, markokas said:

    For production environment Contabo VPS really not recommended.  Do not repeat my mistake.

    Br, mk.

     

     

    What issues do you have with Contabo? I have a single application hosted in a production environment with them and so far, the only issues I have currently is the slowness in delivering pages and long customer service response times.

    The first issue could be due to latency problems since they are situated in Germany and I am in the Asia Pacific.

  6. 3 hours ago, Sherzod said:

    Are there any errors in the browser console logs?

    There were no errors but I noticed that whenever I clicked the "Load PDF" button, the download status was updated.

    It turns out that my setting for PDF file types was to save the file immediately instead of having it opened in Firefox. Changing the setting solved the problem

    Thanks for your assistance.

    urlframefirefox3.png

  7. 6 hours ago, Sherzod said:

    Is the following solution acceptable to you?

    The solution is definitely acceptable to me. Thank you.

    I had to change the variable declaration from "Byte" to "Integer" though to avoid the following Delphi compiler messages at the "If Indx > -1 then" line.

    [dcc64 Warning] Main.pas(1544): W1022 Comparison always evaluates to True
    [dcc64 Warning] Main.pas(1544): W1023 Comparing signed and unsigned types - widened both operands

  8. I use the Uni_Flat_Black theme.

    When deploying the app and runtime files, is it possible to only copy the following folders and files to the target UniGUI installation directory?

    unipackages-7.0.0\themes\css\uni-xtheme-uni_flat_black.css
    unipackages-7.0.0\themes\ext-theme-uni_flat_black\*.*

    The reason I want to do this is to reduce the installation time to install the theme package and reduce the file size.

    --
    Frederick
    (UniGUI Complete - Professional Edition 1.90.0.1549)
     

×
×
  • Create New...