Articles

 

How to upgrade your TCAD Library  to new file format (unicode)? it is for register users only.

You can write a procedure to upgrade it , it is automatic, the steps:

1.backup all of your files

2.Download the Library Editor Project source(for regsiterd user only).

3.Open the project source by Delphi 10.2 Tokoyo, Find code  in the MainForm(pas)

 

 

 if (ReadOldTCADFile) then

            if Dialogs.MessageDlg

              ('Do want want change the library file to new version now?',

              mtConfirmation, [mbYes, mbNo], 0, mbYes) = mrYes then

            begin

              Dialogs.MessageDlg('Start convert now, new file will stored in other filename......', mtInformation,

                [mbOk], 0, mbOk);

 

              LibManager.UpgradefromxjtoUNICODE();

              LibManager.UpgradeSavetoFile(FileName + 'UNICODE.lib');

              ShowMessage

                ('We have upgrde your libfile to new format! New File name is:'

                + FileName + 'UNICODE.lib');

 

              Close;

 

            end;

 

 Change    

  Dialogs.MessageDlg('Start convert now, new file will stored in other filename......', mtInformation,

                [mbOk], 0, mbOk);

to a LOOP for batch process Libraries

 

remove the showmessage procedure.

5. Save and run it.