Go Back   Wiki NewForum > Career Forum > Tech Forum & Tutorial > Oracle Database, SQL, Application, Programming

CMPLIB32.DCL problems


Reply
Views: 1370  
Thread Tools Rate Thread Display Modes
  #1  
Old 08-20-2010, 11:13 AM
bholas bholas is offline
Award Winner
 
Join Date:
Apr 2010
Posts: 5,181
Default CMPLIB32.DCL problems

If you install new components frequently, you've probably run in to situations where Delphi is unable to build the components library file -- CMPLIB32.DCL -- due to an error occurred compiling certain components. Most of the time, you'll be able to solve the problem by exiting Delphi, removing the problematic components and rebuilding the components library. If for some reason you're unable to rebuild this file, you have following options:
  1. Close Delphi
  2. Look for a file called CMPLIB32.~DC in the same directory where you'd normally find CMPLIB32.DCL. By default, this would be in "C:\Program Files\Borland\Delphi 2.0\Bin"
  3. Copy CMPLIB32.~DC (backup of the last good compile of the components library) to CMPLIB32.DCL.
  4. Restart Delphi and open the recovered CMPLIB32.DCL using "Component | Open Library..." menu option.
If you can't find the CMPLIB32.~DC, most likely your last option is to copy the CMPLIB32.DCL file that came with your Delphi install disk(s). Once you retrieve the original components file, you must reinstall components that you had installed since the original installation of Delphi.

var
f : TextFile;
begin
AssignFile( f, 'LPT1' );
Rewrite( f );

//
// do your printing here...
//
WriteLn( f, 'hello, world!');

CloseFile( f );
end;

Reply With Quote
Reply

Tags
programming tips

New topics in Oracle Database, SQL, Application, Programming

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump


Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2019, vBulletin Solutions, Inc.