View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006363 | JEDI VCL | 00 JVCL Components | public | 2014-11-25 16:57 | 2015-09-21 17:47 |
| Reporter | sender | Assigned To | AHUser | ||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | Daily / GIT | ||||
| Target Version | Fixed in Version | 3.49 | |||
| Summary | 0006363: JvRichEdit.pas compile error caused by DWORD_PTR is undefined. | ||||
| Description | Product version is JVCL348CompleteJCL26-Build5178.zip from sourceforge. When I install it to Delphi 7, compiler stops at compling JvRichEdit.pas and says DWORD_PTR is not defined. I checked the source code and fixed it by adding compile time conditions. Please check the attachment file for the patch. | ||||
| Tags | No tags attached. | ||||
|
2014-11-25 16:57
|
JvRichEdit.pas.patch (990 bytes)
*** C:/Program Files (x86)/JEDI/JVCL/run/JvRichEdit.old.pas Tue Nov 25 23:17:33 2014
--- C:/Program Files (x86)/JEDI/JVCL/run/JvRichEdit.pas Tue Nov 25 23:12:48 2014
***************
*** 6010,6016 ****
begin
with EditStream do
begin
! dwCookie := DWORD_PTR(AConverter);
pfnCallBack := StreamSave;
dwError := 0;
end;
--- 6010,6016 ----
begin
with EditStream do
begin
! dwCookie := {$IFDEF COMPILER19_UP}DWORD_PTR{$ELSE}Longint{$ENDIF}(AConverter);
pfnCallBack := StreamSave;
dwError := 0;
end;
***************
*** 6062,6068 ****
try
with EditStream do
begin
! dwCookie := DWORD_PTR(Cookie);
pfnCallBack := StreamLoad;
dwError := 0;
end;
--- 6062,6068 ----
try
with EditStream do
begin
! dwCookie := {$IFDEF COMPILER19_UP}DWORD_PTR{$ELSE}Longint{$ENDIF}(Cookie);
pfnCallBack := StreamLoad;
dwError := 0;
end;
|
|
|
This was fixed in revision 13a6de00518eac11b24696cef1af0ae4b8c38aef (2014-05-08) https://github.com/project-jedi/jvcl |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-11-25 16:57 | sender | New Issue | |
| 2014-11-25 16:57 | sender | File Added: JvRichEdit.pas.patch | |
| 2014-11-25 19:24 | AHUser | Note Added: 0021073 | |
| 2014-11-25 19:24 | AHUser | Status | new => resolved |
| 2014-11-25 19:24 | AHUser | Fixed in Version | => Daily / GIT |
| 2014-11-25 19:24 | AHUser | Resolution | open => fixed |
| 2014-11-25 19:24 | AHUser | Assigned To | => AHUser |
| 2015-09-21 17:47 | obones | Fixed in Version | Daily / GIT => 3.49 |