Jump to content

Restart of "Stand Alone Server"


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;
 FullProgPath: PAnsiChar;
 FullProgPath := PAnsIChar(Application.ExeName);
 WinExec(FullProgPath, SW_SHOW);
 Result := True;


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.



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

Join the conversation

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

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...