Jump to content

Shortcut already exists


Recommended Posts

I sincerely don't know what I did, If I open a project, whenever a open a smart project it displays this nasty msg: Shortcut already exists

-------------

 

CallStack Information:

----------------------

Address: 00A897A3

Module: SMARTMS.EXE

Unit: SynEditKeyCmds.pas

Class: TSynEditKeyStroke

Procedure/Method: SetShortCut

Line: 565[15]

 

Exception:

----------------------------------------------------

  2.1 Date          : Sun, 7 Jun 2015 00:26:11 +0400

  2.2 Address       : 00A897A3

  2.3 Module Name   : smartms.exe - (SmartMS.ex)

  2.4 Module Version: 2.2.0.3999

  2.5 Type          : ESynKeyError

  2.6 Message       : Shortcut already exists.

  2.7 ID            : A4DB

  2.8 Count         : 1

  2.9 Status        : New

  2.10 Note         : 

 

  Active Controls:

------------------------------------------------------------------------------

  4.1 Form Class   : TFormMain

  4.2 Form Text    : Smart Mobile Studio Enterprise - ProjClassOf [2.2.0.3999]

  4.3 Control Class: TComboBox

  4.4 Control Text : 

 

; SynEditKeyCmds.TSynEditKeyStroke.SetShortCut (Line=556 - Offset=6)

; ------------------------------------------------------------------

00A8977E  cmp     edi, eax

00A89780  jz      SynEditKeyCmds.TSynEditKeyStroke.SetShortCut (Line=565)

;

; Line=558 - Offset=8

; -------------------

00A89782  lea     edx, [ebp-$08]

00A89785  mov     eax, dword ptr [$FF8190]

00A8978A  call    -$0067A737

00A8978F  mov     ecx, [ebp-$08]

00A89792  mov     dl, $01

00A89794  mov     eax, dword ptr [synTextDrawer.Finalization (Line=1018)]

00A89799  call    -$00654AEA

00A8979E  call    -$0067FA3F

;

; Line=565 - Offset=15

; --------------------

00A897A3  lea     ecx, [ebp-$04]  ; <-- EXCEPTION

00A897A6  lea     edx, [ebp-$02]

00A897A9  mov     eax, esi

00A897AB  call    -$00392AD8

;

; Line=568 - Offset=18

; --------------------

00A897B0  movzx   eax, word ptr [ebp-$02]

00A897B4  cmp     ax, word ptr [ebx+$0C]

00A897B8  jnz     SynEditKeyCmds.TSynEditKeyStroke.SetShortCut (Line=570)

00A897BA  movzx   eax, word ptr [ebx+$0E]

00A897BE  cmp     ax, word ptr [ebp-$04]

00A897C2  jz      SynEditKeyCmds.TSynEditKeyStroke.SetShortCut (Line=573)

;

; Line=570 - Offset=20

; --------------------

00A897C4  movzx   edx, word ptr [ebp-$02]

Link to post
Share on other sites

Oops, this nasty message again. I remember I was playing with RTTI, the compile spits this error

Compilation failed [Failed to build project: Internal error. Code-generator threw exception EAccessViolation with message Access violation at address 007E903E in module 'smartms.exe'. Read of address 0000000D] error

To solve the issue, I had to edit manually "keyboard_shortcuts.xml", and remove this entries:

 

    <Cmd>
      <Command>64000</Command>
      <ShortCut>24658</ShortCut>          ----> remove this
      <ShortCut2>0</ShortCut2>
    </Cmd>
    <Cmd>
      <Command>64001</Command>
      <ShortCut>24656</ShortCut>         ----> remove this
      <ShortCut2>0</ShortCut2>
    </Cmd>
Link to post
Share on other sites
  • 11 months later...

Hum, every time I open a project, I've got this nasty message again on SMS 2.2.2.4543.
 

How to fix this?

Tools -> IDE Settings -> Keyboard -> Edit Editor short cuts -> Reset List

Application:
--------------------------------------------------------------
  1.1 Start Date      : Mon, 16 May 2016 02:47:24 +0400
  1.2 Name/Description: smartms.exe - (Smart Mobile Studio ID)
  1.3 Version Number  : 2.2.2.4543
  1.4 Parameters      : 
  1.5 Compilation Date: Mon, 18 Apr 2016 22:12:29 +0400
  1.6 Up Time         : 54 seconds

Exception:
------------------------------------------------------------
  2.1 Date          : Mon, 16 May 2016 02:48:18 +0400
  2.2 Address       : 00A921DB
  2.3 Module Name   : smartms.exe - (Smart Mobile Studio ID)
  2.4 Module Version: 2.2.2.4543
  2.5 Type          : ESynKeyError
  2.6 Message       : Shortcut already exists.
  2.7 ID            : A612
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         : 

Active Controls:
-------------------------------------------------------------------------------
  4.1 Form Class   : TfrmMain
  4.2 Form Text    : Smart Mobile Studio - ProjNothing [2.2.2.4543]
  4.3 Control Class: TfrmMain
  4.4 Control Text : 
  
; SynEditKeyCmds.TSynEditKeyStroke.SetShortCut (Line=558 - Offset=6)
; ------------------------------------------------------------------
00A921B6  cmp     edi, eax
00A921B8  jz      SynEditKeyCmds.TSynEditKeyStroke.SetShortCut (Line=567)
;
; Line=560 - Offset=8
; -------------------
00A921BA  lea     edx, [ebp-$08]
00A921BD  mov     eax, dword ptr [$1026608]
00A921C2  call    -$0068316F
00A921C7  mov     ecx, [ebp-$08]
00A921CA  mov     dl, $01
00A921CC  mov     eax, dword ptr [SynTextDrawer.Finalization (Line=1018)]
00A921D1  call    -$0065D4B2
00A921D6  call    -$00688477
;
; Line=567 - Offset=15
; --------------------
00A921DB  lea     ecx, [ebp-$04]        ; <-- EXCEPTION
00A921DE  lea     edx, [ebp-$02]
00A921E1  mov     eax, esi
00A921E3  call    -$0039B36C
;
; Line=570 - Offset=18
; --------------------
00A921E8  movzx   eax, word ptr [ebp-$02]
00A921EC  cmp     ax, word ptr [ebx+$0C]
00A921F0  jnz     SynEditKeyCmds.TSynEditKeyStroke.SetShortCut (Line=572)
00A921F2  movzx   eax, word ptr [ebx+$0E]
00A921F6  cmp     ax, word ptr [ebp-$04]
00A921FA  jz      SynEditKeyCmds.TSynEditKeyStroke.SetShortCut (Line=575)
;
; Line=572 - Offset=20
; --------------------
00A921FC  movzx   edx, word ptr [ebp-$02]  
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...