{"id":45,"date":"2007-05-08T15:36:29","date_gmt":"2007-05-08T13:36:29","guid":{"rendered":" http:\/\/www.nsonic.de\/blog\/2007\/05\/windows2000-d5-wont-start-colors-videodrivers\/"},"modified":"2007-05-11T19:41:36","modified_gmt":"2007-05-11T17:41:36","slug":"windows2000-d5-wont-start-colors-videodrivers","status":"publish","type":"post","link":"https:\/\/www.nsonic.de\/blog\/2007\/05\/windows2000-d5-wont-start-colors-videodrivers\/","title":{"rendered":"Windows2000: D5 won&#8217;t start (colors, videodrivers, &#8230;)"},"content":{"rendered":"<p><em>> I use Win 2000 and tried to install Delphi 5 enterprise<br \/>\n> but everytime I try to start Delphi, it hangs (without any<br \/>\n> error occuring). I tried to reinstall it for several times, but<br \/>\n> nothing worked so far<br \/>\n><br \/>\n> Any ideas?<\/em><\/p>\n<p>There is a bug in some video card drivers in the way they handle the ImageList<br \/>\nAPI.  When an ImageList is being built in memory that cards will freeze the<br \/>\ncomputer or corrupt the images when they have to swap the ImageList back out to<br \/>\nmain memory to complete the building on large imagelist&#8217;s like the 180+ image<br \/>\ncomponent pallete list.  The S3 chipset has been particularly problematic (Win98<br \/>\nis even worse).  <\/p>\n<p>Try these<\/p>\n<p>1) Get the latest driver (www.s3.com or your vendor if your vendors<br \/>\ndoesn&#8217;t work, try the S3 as they tend to be more compliant)<br \/>\n2) Start Delphi with the -ns switch<br \/>\n3) Under the [display] section of the SYSTEM.INI file<br \/>\nadd the following line<br \/>\n    BusThrottle=1 (reboot afterwards)<br \/>\n4) Reboot in safe mode and start Delphi.  Goto the properties of the<br \/>\ncomponent pallet and hide all the controls that you rarely use.  This<br \/>\nwill reduce the imagelist that is getting built and might get you under<br \/>\nthe threshold.<br \/>\n5) reduce the hardware acceleration for the card.<br \/>\n(display->properties->settings->advances->performance)<br \/>\n6) play with color depth\/resolution  1024&#215;768 in 16 bit color seems the<br \/>\nworse (particularly with Delphi 3).<br \/>\n7) Get the latest DirectX drivers. <\/p>\n<p>Also Delphi 5 can not run in Win98 under 16 color mode.  You must be at<br \/>\nleast at 256 colors.<\/p>\n<p>PS.  If the BusThrottle works for you this is by far the<br \/>\nbest solution.  All it does is instruct the driver that it must give a<br \/>\nlittle time slice to the OS so affects on performance are not noticable<br \/>\n(so far no one has reported back to me that they can even tell a<br \/>\ndifference between using and not using the BusThrottle setting except<br \/>\nthat Delphi runs).  Unfortunately not all drivers respect this setting.<\/p>\n<p>Jeff Overcash (TeamB) <\/p>\n","protected":false},"excerpt":{"rendered":"<p>> I use Win 2000 and tried to install Delphi 5 enterprise > but everytime I try to start Delphi, it hangs (without&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[11],"tags":[75,80,81],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p71Tml-J","_links":{"self":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":0,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}