Hola All!
When I open a file with this line:
Open "CONS:" for output as #XX
And then I print to the file with:
Print #XX,"Hi I'm testing something"
and press Control-C conbination, if the 'Print' is active at that moment the
PowerBASIC crashes!
Try this code:
-----------------------====---------------------------------
Open "CONS:" for output as #1
Do
Print #1,"I'm testing something."
Loop
-----------------------====---------------------------------
At any moment press CTRL-C or CTRL-Break. My PowerBASIC 3.0, 3.1 and 3.2
crashes with a QEMM Exception 13h.
It looks like DOS terminates the program, but PowerBASIC has many vectors
hooked and don't restore it. I was solved (50%) this problem hooking INT 0x09
to a IRET routine, but the problem is that I can't now detect keys ;-)
There are anybody of PowerBASIC tech support here ? Can you solve this ?
Have solution ?
Of course I need Std out because the information can be redirected to a file
or to a DOS pipe.
A solution may be 2 new commands like Pascal, UnHookVectors and
ReHookVectors or do this job previously any DOS std out call internally.
Saludotes,
,,,
`0-0' JOS (2:348/102) ** Fel¡s navid s **
/-(_)-\ mejuto@sfdzuma.usc.es
--- FD2.12+ & GoldED 2.50+ & FE145+
---------------
* Origin: -=EDI=BBS=- 28800 //V34/VFC// Santiago //+34-81-502110 (2:348/102)
|