Web Connection
WriteToConsole function missing
Gravatar is a globally recognized avatar based on your email address. re: WriteToConsole function missing
  Rick Strahl
  Dimitar
  Mar 15, 2021 @ 01:25pm

Removed it because it doesn't work properly. The issue as described is that desktop applications - like FoxPro - don't have an actual Console to write to. Console output just goes into empty space basically. You can make it work to see it but you can't reidrect/pipe it or anything else and the display is badly formatted and just not right. So no point in making that work.

The workaround - as outlined in the post - is to create a wrapper Console application in a language that can create Console apps and automate the main application or implement the console commands directly in.

+++ Rick ---

© 1996-2024