Jump to content

Restart of "Stand Alone Server"


verisu

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...