Hello zamronypj,
the (GUI-) application is for visualization purpose, it includes several interfaces like the serial port, UDP and TCP. The desktop application using LCL shows values and the like, has buttons and so on. By now it's just a desktop application.
Now I want to add some "remote" functionality by adding a web server. The first step would be to provide a screenshot of the application, so the user can check the status from remote by only using a browser. Further steps would be to capture the mouse in the browser with javascript to allow the remote control of the LCL-GUI-application. The application is already quite complex, I couldn't reprogramm it totally as a web-app.
In short: I really need a web server, and the web server has to use data from the LCL-GUI-application, I'm not sure how this could work starting a web server in a (seperate) process.