Jump to content
Ian Branch

Issue with MMX 15.0.444.2474

Recommended Posts

HI Team,

D10.4.2, Win 11.

When I installed the latest MMX I started to get the errors as indicated in the attached images.

The errors occur if I just open Delphi and close it straight away.

I swapped back to the previous version, 15.0.38.2440, and I don't get the errors.

I then swapped back to the new mmx again and the error returned.

 

Regards,

Ian

Screenshot_13.jpg

 

Screenshot_14.jpg

 

n.b.  edbrun235....  is an ElevateDB bpl.

 

Edited by Ian Branch

Share this post


Link to post

Up to now I am not able to reproduce. Unfortunately the error messages are of little help here.

Share this post


Link to post

Hi Uwe,

Yes, I am not sure how to assist in tracking it down.

It is repeatable.

I can't say if it happens in D11 yet as Elevate Software hasn't released their D11 versions yet.

I have the latest MMX running fine in D11 ATT.

If there is something I can do to assist, let me know pls.

 

Regards,

Ian

Share this post


Link to post
13 minutes ago, Ian Branch said:

Yes, I am not sure how to assist in tracking it down.

Similar using Windows 7 and 15_0_45_2476 while 15.0.37 works..

 

Just in the process of repeating that install to track down that issue which also broke Sydney as well as Alex..

Share this post


Link to post

15_0_45_2476  gives me an exception in Delphi 11 on Windows 7:

 

  • Attempting show 'Code Explorer' gave me an error and then this while clicking 'OK' to rebuild the index.
  • In Sydney the 'Code Explorer' is docked but same error rebuilding the index with the form open, rebuilding is fine using the refresh button.
  • Both required killing the process to get out of loop.
  • 15.0.37 works in Sydney
  • CodeSite Express, MadExcept and DevEx are installed
[76C2C5AF]{KERNELBASE.dll} RaiseException + $58
[50CCCF17]{vcl280.bpl  } Vcl.Controls.DoControlMsg (Line 10648, "Vcl.Controls.pas" + 12) + $11
[50CCD9BB]{vcl280.bpl  } Vcl.Controls.TWinControl.WMCommand (Line 10925, "Vcl.Controls.pas" + 1) + $5
[50E06D4D]{vcl280.bpl  } Vcl.Forms.TCustomForm.WMCommand (Line 6915, "Vcl.Forms.pas" + 6) + $4
[50CC7CCA]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7544, "Vcl.Controls.pas" + 91) + $6
[5006076C]{rtl280.bpl  } System.TMonitor.Destroy (Line 19558, "System.pas" + 0) + $0
[50064774]{rtl280.bpl  } System.@FinalizeRecord (Line 32815, "System.pas" + 76) + $2
[50CC86E2]{vcl280.bpl  } Vcl.Controls.TControl.WMLButtonUp (Line 7801, "Vcl.Controls.pas" + 9) + $6
[50CA814D]{vcl280.bpl  } Vcl.Graphics.FreeMemoryContexts (Line 7288, "Vcl.Graphics.pas" + 12) + $8
[17351E55]{mmx_bds22.dll} SysInit.@_delayLoadHelper2 + $2A5
[17352809]{mmx_bds22.dll} Winapi.Windows.user32.dll + $5
[17371CFE]{mmx_bds22.dll} FormStates.TFormState.UpdateHighDPI (Line 491, "FormStates.pas" + 4) + $8
[1737184E]{mmx_bds22.dll} FormStates.TFormState.SaveState (Line 404, "FormStates.pas" + 1) + $4
[5005A388]{rtl280.bpl  } System.@FreeMem (Line 4976, "System.pas" + 20) + $0
[5006206C]{rtl280.bpl  } System.@UStrClr (Line 25872, "System.pas" + 14) + $0
[17371F62]{mmx_bds22.dll} FormStates.TFormStateStore.AssureFormState (Line 555, "FormStates.pas" + 8) + $10
[1737245A]{mmx_bds22.dll} FormStates.TFormStateStore.SaveFormState (Line 669, "FormStates.pas" + 2) + $E
[175C9388]{mmx_bds22.dll} SrcIndexerOptsFrm.TSourceIndexerOptionsForm.FormClose (Line 197, "SrcIndexerOptsFrm.pas" + 1) + $9
[50E02967]{vcl280.bpl  } Vcl.Forms.TCustomForm.DoClose (Line 4523, "Vcl.Forms.pas" + 1) + $16
[50E082AF]{vcl280.bpl  } Vcl.Forms.TCustomForm.CloseModal (Line 7711, "Vcl.Forms.pas" + 6) + $A
[50E08A03]{vcl280.bpl  } Vcl.Forms.TCustomForm.ShowModal (Line 7974, "Vcl.Forms.pas" + 52) + $F
[50E08B78]{vcl280.bpl  } Vcl.Forms.TCustomForm.ShowModal (Line 8004, "Vcl.Forms.pas" + 82) + $13
[175C9243]{mmx_bds22.dll} SrcIndexerOptsFrm.TSourceIndexerOptionsForm.Execute (Line 173, "SrcIndexerOptsFrm.pas" + 8) + $5
[17531253]{mmx_bds22.dll} SourceIndexerServices.IndexerServices (Line 139, "SourceIndexerServices.pas" + 3) + $8
[175CBD4F]{mmx_bds22.dll} MMX.SourceIndexer.Frame.TSourceIndexerFrame.OptionsActionExecute (Line 550, "MMX.SourceIndexer.Frame.pas" + 8) + $23
[501733CF]{rtl280.bpl  } System.Classes.TBasicAction.Execute (Line 17813, "System.Classes.pas" + 3) + $7
[50CAF9B2]{vcl280.bpl  } Vcl.ActnList.TCustomAction.Execute (Line 284, "Vcl.ActnList.pas" + 19) + $35
[50173223]{rtl280.bpl  } System.Classes.TBasicActionLink.Execute (Line 17724, "System.Classes.pas" + 2) + $7
[50CC820C]{vcl280.bpl  } Vcl.Controls.TControl.Click (Line 7658, "Vcl.Controls.pas" + 7) + $7
[50D50550]{vcl280.bpl  } Vcl.ComCtrls.TToolButton.Click (Line 22464, "Vcl.ComCtrls.pas" + 0) + $0
[50CC86D7]{vcl280.bpl  } Vcl.Controls.TControl.WMLButtonUp (Line 7799, "Vcl.Controls.pas" + 7) + $6
[50CC7CCA]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7544, "Vcl.Controls.pas" + 91) + $6
[50093C27]{rtl280.bpl  } System.SysUtils.AnsiCompareText (Line 7195, "System.SysUtils.pas" + 1) + $2F
[5006076C]{rtl280.bpl  } System.TMonitor.Destroy (Line 19558, "System.pas" + 0) + $0
[50064774]{rtl280.bpl  } System.@FinalizeRecord (Line 32815, "System.pas" + 76) + $2
[50DCDE51]{vcl280.bpl  } Vcl.Themes.TStyleManager.GetStyle (Line 5789, "Vcl.Themes.pas" + 7) + $D
[50061544]{rtl280.bpl  } System.@TryFinallyExit (Line 23404, "System.pas" + 8) + $0
[50CC7900]{vcl280.bpl  } Vcl.Controls.TControl.Perform (Line 7322, "Vcl.Controls.pas" + 10) + $8
[50CCC435]{vcl280.bpl  } Vcl.Controls.GetControlAtPos (Line 10291, "Vcl.Controls.pas" + 2) + $78
[50CCC506]{vcl280.bpl  } Vcl.Controls.InternalControlAtPos (Line 10315, "Vcl.Controls.pas" + 15) + $E
[50D658DE]{vcl280.bpl  } Vcl.ComCtrls.TToolBarStyleHook.WndProc (Line 34293, "Vcl.ComCtrls.pas" + 6) + $4
[50DD15DE]{vcl280.bpl  } Vcl.Themes.TStyleHook.HandleMessage (Line 7389, "Vcl.Themes.pas" + 20) + $6
[50CC7900]{vcl280.bpl  } Vcl.Controls.TControl.Perform (Line 7322, "Vcl.Controls.pas" + 10) + $8
[50CCC5EC]{vcl280.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 10344, "Vcl.Controls.pas" + 15) + $29
[50CCCC02]{vcl280.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10521, "Vcl.Controls.pas" + 112) + $6
[50D52A41]{vcl280.bpl  } Vcl.ComCtrls.TToolBar.UpdateButtonState (Line 23818, "Vcl.ComCtrls.pas" + 11) + $27
[50D52A82]{vcl280.bpl  } Vcl.ComCtrls.TToolBar.UpdateButtonStates (Line 23829, "Vcl.ComCtrls.pas" + 3) + $4
[50D556EE]{vcl280.bpl  } Vcl.ComCtrls.TToolBar.WndProc (Line 25450, "Vcl.ComCtrls.pas" + 104) + $6
[50CCC338]{vcl280.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 10267, "Vcl.Controls.pas" + 3) + $6
[50174200]{rtl280.bpl  } System.Classes.StdWndProc (Line 18318, "System.Classes.pas" + 8) + $0
[50E0D68F]{vcl280.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 11317, "Vcl.Forms.pas" + 23) + $1
[50E0D6D2]{vcl280.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 11347, "Vcl.Forms.pas" + 1) + $4
[50E0DA11]{vcl280.bpl  } Vcl.Forms.TApplication.Run (Line 11486, "Vcl.Forms.pas" + 27) + $3
[004F6F82]{bds.exe     } bds.bds (Line 227, "" + 16) + $2

 

Share this post


Link to post

Win 7 probably doesn't provide the API used to detect if the system is running in High DPI (not that Delphi 11 can run with or without High DPI) or not. I didn't expect Win 7 still to be a valid scenario. Seems that needs some more sophisticated approach.

 

For Win 11 I am unable to test, as I cannot run it here in the moment.

Share this post


Link to post
12 minutes ago, Uwe Raabe said:

I didn't expect Win 7 still to be a valid scenario.

At least I didn't make that up by myself:

Quote

You can run RAD Studio 10.4 Sydney on the following versions of Windows:

  • Windows 10

So anything below Sydney is probably running on Windows 7 and there already is a check for this:

{$IF CompilerVersion < 34.0 Delphi 10.4 Sydney }

 

Share this post


Link to post
6 minutes ago, Uwe Raabe said:

So anything below Sydney is probably running on Windows 7

I checked Berlin and Rio both work with 15_0_45_2476..

Share this post


Link to post

FWIW my issue is still present in D10.4.2 in MMX 15.0.45.2476.

With CnWizards v 1.2.0.1050 enabled I got an extra error..

image.thumb.png.ec862986b52a5ee9627b2a923c0c7806.png

This would seem to be a CnWizards issue.

Disabling CnWizards in D10.4.2 eliminated the extra error but I still had my original errors.

 

I also initially had an issue with MMX 15.0.45.2476 in D11 but if I disabled CnWizards v 1.2.0.1050 all was fine.

 

Regards,

Ian

Edited by Ian Branch

Share this post


Link to post

Hi Uwe,

I dropped this because I had moved on to D11.  The issues did not occur there.

My hand has been forced and I have moved back to D10.4.2 which involved a clean install of D10.4.2.

After all the patches etc for D10.4.2, the first thing I installed was GExperts.

The second thing installed was MMX 15.0.46.2479.

To my surprise, the issue I started this thread occurs. :-(  I had forgotten.

So, after some further testing I have determined it is something in the change from 15.0.38.2440 to the next version I have, 15.0.44.2474.

The issues occur with 44.2474, not with 38.2440.

Is there anything I can do/assist with to try to identify the problem?

I can work in the short term with having to 'OK' the messages  when I close D10.4.2, but it gets tedious after a while..

For now I will install 38.2440 but I am missing that tweak you did for me to the Uses clause sorting..

 

Regards,

Ian

Share this post


Link to post
18 minutes ago, Ian Branch said:

The issues occur with 44.2474, not with 38.2440.

There were no public versions released between 15.0.38 and 15.0.44. Unfortunately 15.0.44 contains all the changes necessary for the High DPI support in Delphi 11. This results in nearly 300 changed files in the project. Without any clue where to look at it is almost impossible to guess what is happening.

 

Can you track it down to the co-existance with any other plugin or design package? That would narrow down the test scenario to reproduce.

Share this post


Link to post
6 hours ago, Uwe Raabe said:

Can you track it down to the co-existance with any other plugin or design package? That would narrow down the test scenario to reproduce.

At the initial installation of Delphi 10.4.2, and loading of MMX, the only other plugin at the time was the latest GExperts.

As I indicated having loaded MMX I exited Delphi, as I generally do as I load plugins, and the issue appeared.  I haven't bothered with cnPack yet.

I have since then loaded all my usual 3rd party libraries.

As a test I just now de-installed GExperts and reinstalled MMX 15.0.44.2474 and the Issue reappears.

 

Ian

Share this post


Link to post

Hi Uwe,

 

Solved!  Although I don't understand why.

You will recall from above that one of the error messages was related to edbrunxxxx, the run time library for ElevateDB.

As a test I removed edbdesignxxxx from the components.

The issue and all errors disappeared.

I reinstalled EDB and the issues remain gone. ??

I am guessing that perhaps it was related to some hook(s) into the IDE that MMX was also trying to use.

Effectively changing them around changed the order of the hooks.

Having said that, it doesn't explain why I got the initial errors with only GExperts & MMX installed.

Oh Well.  I guess I should be happy that the issues have gone.

 

Thanks for your time/support.  Apologies if I caused any angst.

 

Regards,

Ian

 

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
×