View Issue Details

IDProjectCategoryView StatusLast Update
0037994Lazarus CCRPackagespublic2020-10-27 17:50
ReporterAlfred Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0037994: RichEdit from Lazarus-CCR does not build anymore with FPC 3.2 and above.
DescriptionCompiling RichEdit fails with FPC 3.2 and above.
Included patch solves.
TagsNo tags attached.
Widgetset
Attached Files

Activities

Alfred

2020-10-27 10:28

reporter  

richmemo.patch (1,532 bytes)   
--- win32/win32richmemo.pas	Sun Sep 06 09:11:18 2020
+++ win32/win32richmemo.pas	Tue Oct 27 09:40:56 2020
@@ -1639,8 +1639,8 @@
   end;
   PStreamText = ^TStreamText;
 
-{$IF FPC_FULLVERSION>=30301}
-function Read(dwCookie:DWORD_PTR; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
+{$IF FPC_FULLVERSION>=30200}
+function Read(dwCookie:DWORD; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
 {$ELSE}
 function Read(dwCookie:PDWORD; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
 {$ENDIF}
--- win32/win32richmemoproc.pas	Sun Sep 06 09:11:18 2020
+++ win32/win32richmemoproc.pas	Tue Oct 27 09:40:55 2020
@@ -758,8 +758,8 @@
     pfnCallback : EDITSTREAMCALLBACK;
   end;
   
-{$IF FPC_FULLVERSION>=30301}
-function RTFLoadCallback(dwCookie:DWORD_PTR; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
+{$IF FPC_FULLVERSION>=30200}
+function RTFLoadCallback(dwCookie:DWORD; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
 {$ELSE}
 function RTFLoadCallback(dwCookie:PDWORD; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
 {$ENDIF}
@@ -786,8 +786,8 @@
   Result := cbs.dwError = 0;
 end;
 
-{$IF FPC_FULLVERSION>=30301}
-function RTFSaveCallback(dwCookie:DWORD_PTR; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
+{$IF FPC_FULLVERSION>=30200}
+function RTFSaveCallback(dwCookie:DWORD; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
 {$ELSE}
 function RTFSaveCallback(dwCookie:PDWORD; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD; stdcall;
 {$ENDIF}
richmemo.patch (1,532 bytes)   

Alfred

2020-10-27 10:28

reporter   ~0126580

This patch is for Windows only.

Issue History

Date Modified Username Field Change
2020-10-27 10:28 Alfred New Issue
2020-10-27 10:28 Alfred File Added: richmemo.patch
2020-10-27 10:28 Alfred Note Added: 0126580
2020-10-27 17:50 Bart Broersma Project Lazarus => Lazarus CCR