11-20-2021, 07:42 PM
Amelie, as Jose pointed out the app run from Delphi code will be started on the server. Some more detail:
FYI, when moving from VCL to web development one of the most important things to grasp is where various procedures are executing. It will eventually become natural/automatic but initially you will need to think about it. This is true for ALL web development.
Your Delphi code runs on the Server. It always runs on the server. While it creates or downloads controls and browser procedures (javascript) that run in the users browser, Delphi code itself runs on the server. So, any procedure you have that starts other apps will start them on the server. That also applies to any code that creates user interaction. IW can take care of those things for you in most cases (when browsers allow it), but you have to think about it as you transition.
If you are trying to start an exe from the user's browser, you will find that most browsers make that almost impossible for security reasons. IW will go as far as the browser will let it in most cases.
Dan
FYI, when moving from VCL to web development one of the most important things to grasp is where various procedures are executing. It will eventually become natural/automatic but initially you will need to think about it. This is true for ALL web development.
Your Delphi code runs on the Server. It always runs on the server. While it creates or downloads controls and browser procedures (javascript) that run in the users browser, Delphi code itself runs on the server. So, any procedure you have that starts other apps will start them on the server. That also applies to any code that creates user interaction. IW can take care of those things for you in most cases (when browsers allow it), but you have to think about it as you transition.
If you are trying to start an exe from the user's browser, you will find that most browsers make that almost impossible for security reasons. IW will go as far as the browser will let it in most cases.
Dan

