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
Now Getting Runtime Error 236 on Delphi Start
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Now Getting Runtime Error 236 on Delphi Start
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)
Did you check that there are no other TRichView files in different directories? (to prevent version mismatch)
Re: Now Getting Runtime Error 236 on Delphi Start
RVPkgD11 and RVPkgD11_Dsgn there are, you have right
I have no other richview version in an other directory
I have no other richview version in an other directory
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Now Getting Runtime Error 236 on Delphi Start
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
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)
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.
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)
Re: Now Getting Runtime Error 236 on Delphi Start
No, the error still exists
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Now Getting Runtime Error 236 on Delphi Start
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).
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).
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Now Getting Runtime Error 236 on Delphi Start
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.
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.