Re: Rob: Bug with Windows trasking translator
- Posted by Vincent <darkvincentdude at yahoo.com> Feb 16, 2006
- 775 views
Robert Craig wrote: > You don't have the new ex.exe built with Open Watcom, nor do you have > ec.lib built with Open Watcom, so you won't see any > performance increase. Everything was built with 10.6, > except the updated file today, ecw.exe, which doesn't > affect performance. Well that certainly explains it. > If you get that error, you have to use the new translator option (-stack): > > ecw -wat -stack nnnn taskwire.exw > > and choose a larger size. (nnnn is the size in bytes. 1048576 bytes is > the default for Windows - see objfiles.lnk). Each task has its own > call stack. The interpreter can grow the call stacks dynamically > as required. The Translator needs you to pick a fixed size at > translation time. For most programs there won't be any problem, > but if you want to have a zillion tasks running simultaneously, > or you want to have very deep recursion, you will have to > build your .exe with a larger stack space. OK, I see now. That option will be quite useful then. > Regarding Open Watcom 1.4, I've encountered a potentially fatal > problem with it. Whenever I run ex.exe, built by Open Watcom, > it immediately switches the command-prompt window to full-screen. > It's very annoying. I went through the code and identified > 3 or 4 places in the ex.exe start-up code where the window > is forced to full-screen. Basically, any call to Watcom's > library that does anything related to the screen. Even with those > 3 or 4 places commented-out, it will still do it when the > Euphoria program prints on the screen. It doesn't do that with 10.6. > I wonder if anyone knows of a fix for this. > I also tried right-clicking and setting the properties of ex.exe, > but nothing seemed to fix the problem. This has been happening since day one for me with the translator. It isn't a big deal, just press "Alt-Enter" to restore windowed mode. I agree that it's a little annoying, but it certainly isn't a critical flaw worth deleting a perfectly good compiler with nearly hundreds of bug fixes, new features, improvements, and optimizations since the 10.x series. Remember we're talking about DOS here, I hardly ever read any DOS related discussions on the EUforum, which makes me suspect that few people are using it anymore. In fact, I doubt that many people would care if you one day decided to drop support for it (however Igor and I might get upset). I dont know of a way to bypass this, but perhaps you might find something in the Watcom C manual: ttp://www.openwatcom.org/ftp/manuals/c_readme.pdf If not, maybe you can request it for a later release of Open Watcom if it is really all that important to you. Regards, Vincent