| Author | Topic: Running quietly |
---|
| Itai Ben-Artzi | Running quietly
on Fri, 20 Nov 2020 01:29:48 -0800A small program without any user interface (only write records to a
file) still opens a window when running. Can it run without the
flashing window?
-Itai |
| Andreas Gehrs-Pahl
| Re: Running quietly
on Fri, 20 Nov 2020 12:28:07 -0500Itai,
>A small program without any user interface (only write records to a
>file) still opens a window when running. Can it run without the
>flashing window?
Add the following 2 lines to your code and compile it as a GUI program:
Procedure AppSys()
return
Hope that helps,
Andreas
Andreas Gehrs-Pahl
Absolute Software, LLC
phone: (989) 723-9927
email: Andreas@AbsoluteSoftwareLLC.com
web: http://www.AbsoluteSoftwareLLC.com
[L]: https://www.LinkedIn.com/in/AndreasGehrsPahl
[F]: https://www.FaceBook.com/AbsoluteSoftwareLLC |
| Itai Ben-Artzi | Re: Running quietly
on Fri, 20 Nov 2020 10:25:37 -0800Andreas,
Already have it, but a window is still flashing.
-Itai |
| Andreas Gehrs-Pahl
| Re: Running quietly
on Fri, 20 Nov 2020 19:27:49 -0500Itai,
>Already have it, but a window is still flashing.
That is strange. Doesn't do that for me. How do you start/run it? From a
command prompt, shell, shortcut, service, batch process?
Andreas
Andreas Gehrs-Pahl
Absolute Software, LLC
phone: (989) 723-9927
email: Andreas@AbsoluteSoftwareLLC.com
web: http://www.AbsoluteSoftwareLLC.com
[L]: https://www.LinkedIn.com/in/AndreasGehrsPahl
[F]: https://www.FaceBook.com/AbsoluteSoftwareLLC |
| Itai Ben-Artzi | Re: Running quietly
on Fri, 20 Nov 2020 20:59:55 -0800Andreas,
Either form Windows Explorer, or from the command line, or from the
workbench, the screen is flashing.
What compiler flags and Alink flags did you use?
Below is the entire program:
PROCEDURE AppSys()
Return
//-----------------------------------------------------------------------------
Procedure Main
sleep(200)
Return
**********
-Itai |
| Andreas Gehrs-Pahl
| Re: Running quietly
on Sat, 21 Nov 2020 04:08:35 -0500Itai,
>What compiler flags and Alink flags did you use?
xpp %1 /b /p /n
alink %1 /PM:PM /DE
Hope that helps,
Andreas
Andreas Gehrs-Pahl
Absolute Software, LLC
phone: (989) 723-9927
email: Andreas@AbsoluteSoftwareLLC.com
web: http://www.AbsoluteSoftwareLLC.com
[L]: https://www.LinkedIn.com/in/AndreasGehrsPahl
[F]: https://www.FaceBook.com/AbsoluteSoftwareLLC |
| Itai Ben-Artzi | Re: Running quietly
on Sat, 21 Nov 2020 16:21:24 -0800Thank you, Andreas.
It is the alink switch /PM:PM that does the magic.
-Itai |
| Andreas Gehrs-Pahl
| Re: Running quietly
on Sat, 21 Nov 2020 20:51:10 -0500Itai,
>It is the alink switch /PM:PM that does the magic.
Yes, that's why I wrote in my original post:
>>and compile it as a GUI program
Glad it helped,
Andreas
Andreas Gehrs-Pahl
Absolute Software, LLC
phone: (989) 723-9927
email: Andreas@AbsoluteSoftwareLLC.com
web: http://www.AbsoluteSoftwareLLC.com
[L]: https://www.LinkedIn.com/in/AndreasGehrsPahl
[F]: https://www.FaceBook.com/AbsoluteSoftwareLLC |