Re: message_box() with eui=OK, after bind = not OK - RESOLVED
- Posted by mattlewis (admin) Aug 16, 2010
- 1252 views
eui and euiw are windows executables, so platform() should be returning WIN32. What interpreter are you using that is returning DOS32? Matt
I am using EU40b3 (?)
Yes, when I use the ".EXE" produced with the EU40b3, the problem only occurs in systems that the result of the function platform ()! = WIN32 Otherwise works fine.
That actually sounds like a bug. It should be returning WIN32, since DOS support was dropped for v4. None of the euphoria binaries shipped with beta 3 should be reporting DOS32 from platform(). You may be unintentionally running a different interpreter (like ex.exe from 3.1?).
But this can not be admissible because there are many older PCs that are maintained because they are working with expensive equipment and can not be turned off.
How to explain to the owner of such equipment that EU40b3 is not compatible? Why not work with DOS32 ?
Also I do not understand why there are old programs, eg DBASE IV PLUS borned in 1994 that keeps working fine in WinXp, winVista and Win7, no problem despite being DOS32. But,the simple code "wwait.exe" (posted above), with only one function, not works with this platforms.
If I am thinking wrong, please let me know.
Those old programs are probably DOS programs. There is a difference in the way the executable is built. Euphoria is supported by volunteers, and there has been no one interested in supporting a DOS port for some time.
DOS programs cannot access Windows dlls, which is what the message box code does.
Matt