09-06-2018, 10:35 AM
I need help. In this link there is a code (working) that I did and possibly can be useful to people testing solutions http://www.cognitor.com.br/SWWWtest.zip (delphi + html / bootstrap ***). It has a simple menu and no database.
I made a site to be able to run, from inside my Delphi -IW-Bootstrap site, some electric calculations software that I did for PCs in Delphi. The exe files will stay in the same site. I need to run the EXE because to convert the calculation programs to IW would take about 6 months of work (they are complex and have many screens). I already know that the solution works because I tested here at home using Notepad, the Windows calculator and others.
It works but the problem is that I cannot make the Notepad screen to stay within the form of my application. They run but appears outside the form. I know that the problem is in the RunExternalSoft procedure that is in the NotepadT form. That's why I commented the line Winapi.Windows.SetParent line (fAppHandle, ????. Handle);
The help I need is for someone to correct the procedure so that the executable appears inside the form (blue part in figure http://www.cognitor.com.br/telasWWWtest.png )
If anyone can help me use the following sequence:
a) Download and unzip the SWWWtest.zip file. On my PC the directory is in C: \ SWWWtest
b) Compile the file TestingSite.dproj (I did it with Delphi Seattle)
c) When the screen appears there will be the left side menu with (Home, NotepadT and CalcT)
d) Click NotepadT and will appear a screen with an "open Software" button
e) Click on it and the Notepad will appear, but it will be running outside the form.
f) I want to correct this so that it appears in the blue area
g) Then click on the menu in CalcT. I need also help to know how to close NotepadT before opening CalcT. I do not know how to do this
h) Then CalcT will open but also out of the form. I need to correct
(***) to look better just copy the bower_components directory (from the course) into the wwwroot subdirectory. I retired so that this zipped file was light
thanks in advance
I made a site to be able to run, from inside my Delphi -IW-Bootstrap site, some electric calculations software that I did for PCs in Delphi. The exe files will stay in the same site. I need to run the EXE because to convert the calculation programs to IW would take about 6 months of work (they are complex and have many screens). I already know that the solution works because I tested here at home using Notepad, the Windows calculator and others.
It works but the problem is that I cannot make the Notepad screen to stay within the form of my application. They run but appears outside the form. I know that the problem is in the RunExternalSoft procedure that is in the NotepadT form. That's why I commented the line Winapi.Windows.SetParent line (fAppHandle, ????. Handle);
The help I need is for someone to correct the procedure so that the executable appears inside the form (blue part in figure http://www.cognitor.com.br/telasWWWtest.png )
If anyone can help me use the following sequence:
a) Download and unzip the SWWWtest.zip file. On my PC the directory is in C: \ SWWWtest
b) Compile the file TestingSite.dproj (I did it with Delphi Seattle)
c) When the screen appears there will be the left side menu with (Home, NotepadT and CalcT)
d) Click NotepadT and will appear a screen with an "open Software" button
e) Click on it and the Notepad will appear, but it will be running outside the form.
f) I want to correct this so that it appears in the blue area
g) Then click on the menu in CalcT. I need also help to know how to close NotepadT before opening CalcT. I do not know how to do this
h) Then CalcT will open but also out of the form. I need to correct
(***) to look better just copy the bower_components directory (from the course) into the wwwroot subdirectory. I retired so that this zipped file was light
thanks in advance