Mega Code Archive

 
Categories / Delphi / VCL
 

Overcomming stream read error

Question: When I start 16 Bit Delphi, I get the error "Stream Read Error" or "Invalid Stream Format". How can I get Delphi to start properly? Answer: This is usually caused by a corrupt "Delphi.dmt" file located in Delphi's \Bin\ directory. To replace the file, simply copy the file: D:\DELPHI16\RUNIMAGE\Delphi\BIN\Delphi.DMT from the CD to Delphi's \Bin\ directory, then clear the read only attribute from the file.