Jump to content
Sign in to follow this  
Lorenzo B

Crash when copy a control CTRL+C

Recommended Posts

hello,

I have never created FMX applications, I have always used only VCL. Lately however I needed to develop a simple application for windows, which would have been better to do in FMX, but I immediately noticed a very strange problem. Basically if I try to copy any control into the form, as soon as I press CTRL+C the IDE crashes. I am using Delphi 12.2, but I also have Delphi 10.4 installed, I tried to do the same thing in that version, and I have the same problem there too.

If instead of using CTRL+C I use Copy from the menu, everything works and I can copy and paste without problems.

I thought it could depend on some helper shell that I use (MMX or CnPack) but I checked and I found nothing, but I have not tried to uninstall them!

Below I have put the extract of what comes out when the IDE goes into "general protection fault". 

Does anyone have any ideas about this?

 

 

[01998939]{coreide290.bpl} EditorActions.TEditorActionLists.EditCopyItemExecute (Line 891, "EditorActions.pas" + 1) + $A
[5053EE5A]{vcl290.bpl  } Vcl.AppEvnts.TMultiCaster.DoActionExecute (Line 406, "Vcl.AppEvnts.pas" + 5) + $E
[5053EE7E]{vcl290.bpl  } Vcl.AppEvnts.TMultiCaster.DoActionExecute (Line 410, "Vcl.AppEvnts.pas" + 9) + $3
[01998931]{coreide290.bpl} EditorActions.TEditorActionLists.EditCopyItemExecute (Line 891, "EditorActions.pas" + 1) + $2
[774F400B]{rtl290.bpl  } System.Classes.TBasicAction.Execute (Line 18584, "System.Classes.pas" + 3) + $7
[50373752]{vcl290.bpl  } Vcl.ActnList.TCustomAction.Execute (Line 284, "Vcl.ActnList.pas" + 19) + $35
[774F3DBD]{rtl290.bpl  } System.Classes.TBasicActionLink.Execute (Line 18479, "System.Classes.pas" + 😎 + $7
[504BE60B]{vcl290.bpl  } Vcl.Menus.TMenuItem.Click (Line 2627, "Vcl.Menus.pas" + 17) + $7
[504C033F]{vcl290.bpl  } Vcl.Menus.DoClick (Line 3859, "Vcl.Menus.pas" + 41) + $4
[504C042B]{vcl290.bpl  } Vcl.Menus.TMenu.IsShortCut (Line 3912, "Vcl.Menus.pas" + 38) + $6
[50396E80]{vcl290.bpl  } Vcl.Controls.TWinControl.IsMenuKey (Line 12838, "Vcl.Controls.pas" + 😎 + $12
[50396EF5]{vcl290.bpl  } Vcl.Controls.TWinControl.CNKeyDown (Line 12858, "Vcl.Controls.pas" + 5) + $4
[5038F15E]{vcl290.bpl  } Vcl.Controls.TControl.WndProc (Line 7920, "Vcl.Controls.pas" + 91) + $6
[50390D7A]{vcl290.bpl  } Vcl.Controls.TControl.GetStyleName (Line 8986, "Vcl.Controls.pas" + 1) + $8
[504A0704]{vcl290.bpl  } Vcl.Themes.TStyleHook.AcceptMessage (Line 7406, "Vcl.Themes.pas" + 23) + $5
[50472B6D]{vcl290.bpl  } Vcl.ExtCtrls.TPanelStyleHook.AcceptMessage (Line 12563, "Vcl.ExtCtrls.pas" + 1) + $2
[504A075B]{vcl290.bpl  } Vcl.Themes.TStyleHook.HandleMessage (Line 7422, "Vcl.Themes.pas" + 3) + $6
[505CB0D0]{vcl290.bpl  } Vcl.Styles.TStyleEngine.HandleMessage (Line 3616, "Vcl.Styles.pas" + 20) + $8
[773D2789]{rtl290.bpl  } System.@UStrAsg (Line 27007, "System.pas" + 18) + $0
[5049D170]{vcl290.bpl  } Vcl.Themes.TStyleManager.HandleMessage (Line 5892, "Vcl.Themes.pas" + 11) + $11
[50392767]{vcl290.bpl  } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9956, "Vcl.Controls.pas" + 0) + $F
[50394813]{vcl290.bpl  } Vcl.Controls.TWinControl.WndProc (Line 11154, "Vcl.Controls.pas" + 178) + $6
[50393CD8]{vcl290.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 10823, "Vcl.Controls.pas" + 3) + $6
[774F4E3C]{rtl290.bpl  } System.Classes.StdWndProc (Line 19091, "System.Classes.pas" + 😎 + $0
[504E44F0]{vcl290.bpl  } Vcl.Forms.TApplication.IsKeyMsg (Line 13284, "Vcl.Forms.pas" + 25) + $12
[504E458A]{vcl290.bpl  } Vcl.Forms.TApplication.IsHintMsg (Line 13305, "Vcl.Forms.pas" + 3) + $2
[504E4797]{vcl290.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 13370, "Vcl.Forms.pas" + 17) + $31
[504E47FE]{vcl290.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 13406, "Vcl.Forms.pas" + 1) + $4
[504E4B3D]{vcl290.bpl  } Vcl.Forms.TApplication.Run (Line 13545, "Vcl.Forms.pas" + 27) + $3
[00458B02]{bds.exe     } bds.bds + $DE

 

 

regards

Lorenzo

Share this post


Link to post
Posted (edited)

Your call stack does not indicate that the call is going through an ide expert.

 

Additionally you don't need to really uninstall the experts. For some of them (but not for gexpoerts) you can temporary disable their package directly from the IDE. Not even need to restart the IDE.
Or use \CnPack\CnManageWiz.exe to manage your installed IDE experts (IDE restart required).

Edited by GabrielMoraru

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×