Re: Detecting the Eu version
- Posted by "Igor Kachan" <kinz at peterlink.ru> Dec 15, 2004
- 557 views
Jason Gade wrote: [snip] > I tried the with example you printed above. I couldn't include a '!' in the > with statement unless I wanted the program to crash every time. Why every time? Just once. 'with !' stands just to invoke crash and a suitable error message, 'unknown with/without option'. Then you can see critical section of code, set needed parameter and then comment the line with 'with !'. Say, some machines have videocards with 1024x768 resolution, but monitor is just 800x600. You can not *automatically* detect this monitor's resolution to set up needed videomode for user. And I'd prefer to get forced crash to adjust program, than to get lost synchronisation of monitor. I set screen mode 800x600, comment that 'with !' and your program runs on my machine. Maybe, I do not understand you? Regards, Igor Kachan kinz at peterlink.ru