Re: Windows GUI prog: unexpected console window
- Posted by ChrisB (moderator) Jan 25, 2019
- 1145 views
I was a programmer in the 70's! Thanks!) I got an MleText, and tried to encrypt/decrypt some text files.
Finally all tests gave expected results! But with just ONE input file, during encryption, a black console window popped up in front of the Mle at about the 260th char, with a top line containing about 40 characters, as if I'd used a puts(1, {some random numbers}). But I couldn't find one.
Finally I used trace(1) to go through this part. I thought I'd left in some silly diagnostic. But the trace went through "sweetly". No clue about the console window, which still formed, as before, behind the trace.
Sorry if the answer's very obvious to experienced folk! Thanks for any tips!
- oldprog
Hi
Everyone here will try to help, but there's not enough detail here.
You were using an MleText widget - from which toolkit? Which eu version, which operating system? Does the program crash, or complete without crashing? Does the error always appear at the same point in the file that it's reading, in all files. Can you create, and post, the smallest possible program, and test files, that produce the same error, and post it here? How a bout a screen shot of the console window?
The more details you post, the more likely you are to get a meaningful response.
Cheers
Chris