Jump to content

diegojmap

uniGUI Subscriber
  • Posts

    155
  • Joined

  • Last visited

Posts posted by diegojmap

  1. I'm still having the same problem.
    I found a temporary solution.
    The problem is when creating the MainModule.
    I used a UniThreadTimer in the UniGUIMainModuleCreate event.
    Is there a command to kill the Process in HyperServer?
    I Already tried all this options bellow
    UniSession.UniApplication.Terminate;
    UniSession.UniApplication.Free;
    UniSession.Free;
    Is there any other option?

  2. Hayri ASLAN
    sorry
    This error appears when accessing any extension.
    Are you telling me that with unigui I can't access an extension?
    I showed you a ready-made example.
    I just need to do it in with Unigui.
    If you're telling me it's not possible I'm very worried.

    How to access chrome.runtime.sendmessage with unigui?
    It has nothing to do with my extension.

    @Sherzod

     

     
  3. I need to access a chome extension.

    I'm using beforeshow in ExtEvents.

    function window.beforeshow(sender, eOpts)
    {  
          var extensionId = "pnahlmehglnaomfnngekhphldmbjhdel";

                        chrome.runtime.sendMessage(extensionId, { message: "certs", body: "list certificates" }, function (response) {
                                                   console.log(response);
                        });
                    
       }

    Return the message:

    Cannot read properties of undefined (reading 'sendMessage')

    What would be the correct way to call it?

  4. Farshad I have a problem with some clients.
    The hyperserver resolved most clients crashing.
    On our development server and some clients I have some problems.
    Especially when I have more than one Hyperserver Pool.
    As the image some processes are stuck getting the server, it does not connect to the Bank.
    Is it possible some remote access on our machine?
    Detail I have clients with high processing and this never happens, I use the same configuration.
    The message in the log is
    sat_web.dll: 00000DFC: 11:10:34 [TUniHyperServer.HandleHTTPRequest(), Node:[1]]:Read timed out.
    sat_web.dll: 00000DFC: 11:10:34 [HttpExtensionProc[192.168.46.161]]:EIdReadTimeout : Read timed out. : Addr: $02746AB0
    sat_web.dll: 0000111C: 11:10:38 [TUniHyperServer.HandleHTTPRequest(), Node:[2]]:Read timed out.
    sat_web.dll: 0000111C: 11:10:38 [HttpExtensionProc[192.168.46.161]]:EIdReadTimeout : Read timed out. : Addr: $02746AB0
    sat_web.dll: 00000BC4: 11:10:59 [TUniHyperServer.HandleHTTPRequest(), Node:[4]]:Read timed out.
    sat_web.dll: 00000BC4: 11:10:59 [HttpExtensionProc[192.168.46.161]]:EIdReadTimeout : Read timed out. : Addr: $02746AB0.
    I've tried leaving ServerModule with default settings and it didn't work.
    I updated to the latest version of Unigui and hyperserver, the problem persists.
    The detail is that this happens on some machines.
    They also don't have antivirus.
    The process is open.

    CPU.JPG

  5. <html>
    I'm trying to catch the CloseIframe event 

     

     

    <head>
        <title>IFRAME</title>
        <script language="JavaScript">
          function close() {    
             console.log('close');
             top.ajaxRequest(top.MainForm.UniURLFrame1 , "CloseIframe",[]);         
          };
        </script>
      </head>
      <body>
        <h1>IFRAME</h1>
        <p> when clicking on the button you should close the iframe window opened by uniguiu </p>
        <button onclick="close()">Close</button>
      </body>
    </html>

    URLFrame2.rar

  6. In fact, they are building plans. A project approval system.
    The client needs to make some doodles and dialog boxes inside the plant.

    A competitor presented this and the customer went crazy.

     

    Na verdade são plantas de imoveis. Um sistema de aprovação de projetos.
    O cliente precisa fazer uns rabiscos e caixas de dialogo dentro da planta.

    Um concorrente apresentou isso e o cliente ficou doido.
     

×
×
  • Create New...