Jump to content

Recommended Posts

Posted

Hi Farshad,

 

In the older version of uniGui i was using something like this function for restarting the "Stand Alone Server".

 

function RestApp: Boolean;
var
 FullProgPath: PAnsiChar;
begin
 FullProgPath := PAnsIChar(Application.ExeName);
 WinExec(FullProgPath, SW_SHOW);
 Application.Terminate;
 Result := True;
end;

 

Now i'm trying to shutdown the engine and no luck. Do you have a trick or am i missing something.

 

Thank you for your answer.

 

Verisu.

Posted

Yes. But your question suggests its not possible. :rolleyes:

I looked on my older project and i saw that i was using a normal form before running uniGui form. Other way is it not possible?

  • Administrators
Posted

Restarting a "live server" can be a complex task. There can many active requests at the time you want to restart it. Such a task should be implemented internally using methods that are directly coupled with server engine.

 

I log an issue for it: #1024

Posted

Thank you Farshad.

 

Only for explanation why i need it. Its for a configuration windows of the engine and database like ado or mysql. By pushing the "save" button the server save the config to registry or file and restart it self. Be ruining its detect that there is configuration and use it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...