the closing of opened console window automatically closes the whole FoxPro session; the SetWindowLong can not change attributes for the console window (error=5, access denied);
main FoxPro window stops redrawing itself after a console window is created.
And of course, the main unsolved issue is finding a practicality in console windows.
* * *
I noticed that in VFP6 the code works a bit different -- methods ClearScreen and SetCursorPos. You may try to declare and call SetConsoleCursorPosition with just two parameters -- INTEGER and @STRING -- instead of INTEGER, SHORT, SHORT.
I'm receiving a "Declare DLL call caused an exception." error in the following line: = FillConsoleOutputCharacter(THIS.hStdout, 32,; nBufsize, 0,0,0) Please, could you take a look at it? I'm using VFP 9 and Windows 7 Professional (32 bits).
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.