Hi Alex,
for Windows, you have to replace the main function by the WinMain function for a Windows application.
Note, that WinMain has a different syntax. An alternative is to use the compiler option /Subsystem:windows.
For Linux, you can just suppress all writing to a console window. For example, the option 'unit (0)' directly after
disini will suppress all Dislin output to a console, even warnings and the protocol in disfin.
With best regards,
Helmut