Now Getting Runtime Error 236 on Delphi Start

General TRichView support forum. Please post your questions here
dkounal
Posts: 24
Joined: Sat Aug 27, 2005 4:51 pm
Location: Greece

Re: Now Getting Runtime Error 236 on Delphi Start

Post by dkounal »

1. Yes I tried. RVDBPkgD11 and RVDBPkgD11_Dsgn are build OK. But when I try to install RVDBPkgD11_Dsgn I am get again the 236 error and Delphi closes

2. It happens to VCL version with Delphi 11 Version 28.0.48361.3236 Update 3
Sergey Tkachenko
Site Admin
Posts: 17564
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Now Getting Runtime Error 236 on Delphi Start

Post by Sergey Tkachenko »

1. Do you mean RVPkgD11 and RVPkgD11_Dsgn?

Did you check that there are no other TRichView files in different directories? (to prevent version mismatch)
dkounal
Posts: 24
Joined: Sat Aug 27, 2005 4:51 pm
Location: Greece

Re: Now Getting Runtime Error 236 on Delphi Start

Post by dkounal »

RVPkgD11 and RVPkgD11_Dsgn there are, you have right
I have no other richview version in an other directory
Sergey Tkachenko
Site Admin
Posts: 17564
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Now Getting Runtime Error 236 on Delphi Start

Post by Sergey Tkachenko »

Let's make sure that the error does not come from update checking.

Open RVUpdateFrm.pas, and comment all code in initialization and finalization sections, like this

Code: Select all

(* <-- add comment
initialization

  InitWinInet;
  RVUpdateChecker := TRVUpdateChecker.Create;

  RVUpdateChecker.SetInstalledVersion(rvpRV, RVVersion,
    {$IFDEF RVWATERMARK}False{$ELSE}{$IFDEF RVDEBUG}False{$ELSE}True{$ENDIF}{$ENDIF}, False);

finalization

  RVUpdateChecker.Free;
  RVUpdateChecker := nil;
  DoneWinInet;
add comment -> *)

end.
Try to rebuild and install packages.
Does it help?

If not, the next step will be adding logging to the beginning and to the end of initialization sections of each TRichView units (I'll do it and send changed code to you)
dkounal
Posts: 24
Joined: Sat Aug 27, 2005 4:51 pm
Location: Greece

Re: Now Getting Runtime Error 236 on Delphi Start

Post by dkounal »

No, the error still exists
Sergey Tkachenko
Site Admin
Posts: 17564
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Now Getting Runtime Error 236 on Delphi Start

Post by Sergey Tkachenko »

I can imagine 3 reasons.

1. The error comes from Register procedure of the designtime package.
2. The error comes from initialization section of some of TRichView units
3. The error comes from the package loading code, before calling any TRichView code (the worst case).

Logging will help to find the place of the error. I'll try to add logging and send it to you later today (or tomorrow).
Sergey Tkachenko
Site Admin
Posts: 17564
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Now Getting Runtime Error 236 on Delphi Start

Post by Sergey Tkachenko »

I sent modified units and instructions to you by email.

Additionally, please make sure that the folder where third-party BPL files are created (normally, c:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl for Delphi 11) (where RVPkgD11.bpl is created) is added to the system PATH environment variable.
Post Reply