View Issue Details

IDProjectCategoryView StatusLast Update
0021663LazarusLCLpublic2012-04-15 14:01
ReporterBranislavAssigned ToMartin Friebe 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.9.30.4Product Build 
Target VersionFixed in Version0.9.31 (SVN) 
Summary0021663: Error while compiling SynEdit for WinCE
DescriptionIn SynEdit ...

 {$IFDEF WinIME}
  private
    FImeHandler: LazSynIme;
    procedure SetImeHandler(AValue: LazSynIme);

    procedure WMImeRequest(var Msg: TMessage); message WM_IME_REQUEST; <-Identifier not found

Additional InformationIf you replace WM_IME_REQUEST with $0288 (WM_IME_REQUEST = $0288) it pass compiling process
TagsNo tags attached.
Fixed in Revision36616
LazTarget1.0
WidgetsetWinCE
Attached Files

Relationships

parent of 0021666 resolvedFlorian FPC WM_IME_REQUEST not defined for WinCE 

Activities

Martin Friebe

2012-04-06 17:36

manager   ~0058366

Please test and close if ok

Martin Friebe

2012-04-06 17:49

manager   ~0058367

Temporarily disabled.

WM_IME_REQUEST should then be added in FPC messages, if it does exist for WinCE

Martin Friebe

2012-04-06 18:14

manager   ~0058369

Please insert the IFDEF below in LazSysIMM (the copy has surrounding lines to show the correct location).

Remove the IFnDEF WINCE from SynEdit.pp to emable inclusion again

Then report if this fixes the issue (until the FPC issues are resolved)

uses
  windows, imm, Classes, SysUtils, LazLoggerBase, LCLType, LCLProc, Controls,
  Graphics, SynEditMiscClasses, SynTextDrawer, SynEditPointClasses, SynEditMarkupSelection,
  SynEditMarkup, SynEditTypes, SynEditKeyCmds, LazSynEditText;

{$IFDEF WINCE} {$IF (FPC_FULLVERSION < 20700)}
function ImmSetCompositionFontA(_himc:HIMC; lplf:LPLOGFONT):BOOL; external ImmDLL name 'ImmSetCompositionFontA';
const
  WM_IME_REQUEST = $0288;
{$ENDIF}{$ENDIF}
type

  { LazSynIme }

  LazSynIme = class(TSynEditFriend)

Martin Friebe

2012-04-15 14:00

manager   ~0058614

Compilation is fixed.

No feedback on alternative implementation. IME for WinCE will be enabled, if feedback is received

Issue History

Date Modified Username Field Change
2012-04-06 16:05 Branislav New Issue
2012-04-06 16:05 Branislav Widgetset => WinCE
2012-04-06 16:06 Zeljan Rikalo Status new => assigned
2012-04-06 16:06 Zeljan Rikalo Assigned To => Martin Friebe
2012-04-06 17:36 Martin Friebe Fixed in Revision => 36616
2012-04-06 17:36 Martin Friebe LazTarget => 1.0
2012-04-06 17:36 Martin Friebe Status assigned => resolved
2012-04-06 17:36 Martin Friebe Fixed in Version => 0.9.31 (SVN)
2012-04-06 17:36 Martin Friebe Resolution open => fixed
2012-04-06 17:36 Martin Friebe Note Added: 0058366
2012-04-06 17:47 Martin Friebe Status resolved => assigned
2012-04-06 17:47 Martin Friebe Resolution fixed => reopened
2012-04-06 17:49 Martin Friebe Note Added: 0058367
2012-04-06 17:55 Martin Friebe Relationship added parent of 0021666
2012-04-06 18:14 Martin Friebe Note Added: 0058369
2012-04-06 18:14 Martin Friebe Status assigned => feedback
2012-04-15 14:00 Martin Friebe Status feedback => resolved
2012-04-15 14:00 Martin Friebe Resolution reopened => fixed
2012-04-15 14:00 Martin Friebe Note Added: 0058614