Jump to content

Fons N

Members
  • Content Count

    15
  • Joined

  • Last visited

  • Days Won

    1

Fons N last won the day on December 25 2020

Fons N had the most liked content!

Community Reputation

2 Neutral

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Fons N

    Can't load package

    Thanks Uwe, Your remark made me look into it from that perspective... using Process Monitor I found out why... well, sort of. It had to do with the Livebinding bpl files. Strange thing though is, that I disabled them many weeks ago, so it still puzzles me why now it became a problem. Enabled and then disabled them and after that the REST packages loaded without any problem. Best regards, Fons
  2. Fons N

    Can't load package

    Hi Uwe, I guess there no way to find out which those packages are..? Still, since I haven't changed anything to the IDE at all, it seems odd that I suddenly have this issue. Since I don't use REST in any of my applications I will just have to ignore these messages and answer "No" next time it pops up. It does annoys me though... if I cannot find out why this happens. Best regards, Fons
  3. Fons N

    Can't load package

    Hi, When starting the IDE (Delphi 10.4.2 Pro) I suddenly get this error message: Can't load package c:\program files (x86)\embarcadero\studio\21.0\bin\dclRESTBackendComponents270.bpl. Can't load package c:\program files (x86)\embarcadero\studio\21.0\bin\dclRESTComponents270.bpl. The specified module could not be found. Do you want to attempt to load this package the next time a project is loaded? Actually two messages because of two missing bpl files. I have been using 10.4.2 for quite some time now and I never got these messages. Both bpl files DO EXIST in the location they are suppose to be. So why can't the IDE find them now all of a sudden. The IDE always starts without loading a project, so it has nothing to do with my own little Delphi application. And the IDE does seem to find all other bpl files in the bin directory. I am at a loss. Any help is appreciated. Best regards, Fons
  4. Many thanks !! That works perfectly.
  5. Thanks. I will pass this info to Peganza. At least now I know it is not something wrong on my end.
  6. Fons N

    How to compare performance between Delphi versions?

    If you have an active subscription... then why wait for 10.5 ? Especially when most seem to like 10.4.1 and 10.4.2. Why cut yourself short waiting...? Just curious. You answered it a minute ago
  7. It is an add-on and is does not come with source. The support page is outdated. It works fine in 10.4.1 just not 10.4.2.
  8. Hello, I just did a clean install of Delphi Pro 10.4.2. All went smoothly. Than I installed Peganza Expert. When starting Delphi immediately there is an access violation. After uninstalling Peganza Expert all is fine again. Have any of you have similar problems? I had no problems with Delphi 10.4.1. I contacted Peganza but I thought I ask here also. For those of you that are way smarter than me, below is the report of the access violation. I have no clue. Thanks. Fons [77EAF653]{ntdll.dll } Unknown function at RtlDllShutdownInProgress + $A3 [50F4EBD3]{vcl270.bpl } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3310, "Vcl.Styles.pas" + 1) + $13 [50CFCBF4]{vcl270.bpl } Vcl.Controls.TWinControl.WMPaint (Line 10711, "Vcl.Controls.pas" + 6) + $5 [50F394FF]{vcl270.bpl } Vcl.Styles.DrawControlBackground (Line 7121, "StyleAPI.inc" + 69) + $C [50CD0C82]{vcl270.bpl } Vcl.Graphics.TCustomCanvas.Lock (Line 3700, "Vcl.Graphics.pas" + 7) + $4 [50CD7259]{vcl270.bpl } Vcl.Graphics.TBitmapCanvas.CreateHandle (Line 7413, "Vcl.Graphics.pas" + 3) + $3 [50CD1DE1]{vcl270.bpl } Vcl.Graphics.TCanvas.RequiredState (Line 4278, "Vcl.Graphics.pas" + 6) + $4 [50CD1CF9]{vcl270.bpl } Vcl.Graphics.TCanvas.GetHandle (Line 4230, "Vcl.Graphics.pas" + 2) + $B [08638009]{themeloader270.bpl} Idetheme.Vclstylehooks.TToolBarIDEStyleHook.Paint + $E9 [50CFA393]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F [50CFBA9A]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10256, "Vcl.Controls.pas" + 1) + $53 [50060764]{rtl270.bpl } System.TMonitor.Enter (Line 19592, "System.pas" + 4) + $2 [50CD802A]{vcl270.bpl } Vcl.Graphics.CopyBitmap (Line 8001, "Vcl.Graphics.pas" + 184) + $A [5006063C]{rtl270.bpl } System.TMonitor.Destroy (Line 19528, "System.pas" + 0) + $0 [5005FD59]{rtl270.bpl } System.TObject.CleanupInstance (Line 18181, "System.pas" + 23) + $0 [5005A25C]{rtl270.bpl } System.@FreeMem (Line 4891, "System.pas" + 20) + $0 [5005FB7C]{rtl270.bpl } System.TObject.FreeInstance (Line 17870, "System.pas" + 2) + $2 [50060382]{rtl270.bpl } System.@ClassDestroy (Line 19294, "System.pas" + 0) + $2 [5005FC74]{rtl270.bpl } System.TObject.Free (Line 17933, "System.pas" + 1) + $4 [50CD7370]{vcl270.bpl } Vcl.Graphics.TSharedImage.Release (Line 7480, "Vcl.Graphics.pas" + 7) + $2 [50CD96A6]{vcl270.bpl } Vcl.Graphics.TBitmap.NewImage (Line 9164, "Vcl.Graphics.pas" + 36) + $5 [50CD350B]{vcl270.bpl } Vcl.Graphics.TGraphic.Changed (Line 5427, "Vcl.Graphics.pas" + 2) + $4 [50CD157F]{vcl270.bpl } Vcl.Graphics.TCanvas.FillRect (Line 3966, "Vcl.Graphics.pas" + 4) + $4 [50DF811A]{vcl270.bpl } Vcl.Themes.TStyleHook.PaintBackground (Line 7196, "Vcl.Themes.pas" + 2) + $10 [50DF822C]{vcl270.bpl } Vcl.Themes.TStyleHook.WMPaint (Line 7226, "Vcl.Themes.pas" + 18) + $12 [50DF86AA]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7397, "Vcl.Themes.pas" + 38) + $6 [50DF88A0]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7505, "Vcl.Themes.pas" + 0) + $0 [50D8EB16]{vcl270.bpl } Vcl.ComCtrls.TToolBarStyleHook.WndProc (Line 33588, "Vcl.ComCtrls.pas" + 6) + $4 [50DF7EC6]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7110, "Vcl.Themes.pas" + 20) + $6 [50F4F3BE]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $B [50DF4E24]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5665, "Vcl.Themes.pas" + 11) + $11 [50CFA393]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F [50CFBA9A]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10256, "Vcl.Controls.pas" + 1) + $53 [50DFDA7D]{vcl270.bpl } Vcl.Themes.{System.Generics.Collections}TDictionary<System.TClass,System.Generics.Collections.TList<Vcl.Themes.TStyleHookClass>>.ContainsKey (Line 7415, "System.Generics.Collections.pas" + 1) + $F [50D7EFFE]{vcl270.bpl } Vcl.ComCtrls.TToolBar.WndProc (Line 24912, "Vcl.ComCtrls.pas" + 104) + $6 [50CFB614]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10113, "Vcl.Controls.pas" + 3) + $6 [501826A4]{rtl270.bpl } System.Classes.StdWndProc (Line 18175, "System.Classes.pas" + 😎 + $0 [218D5B3F]{vclactnband270.bpl} Vcl.ActnMenus.CallWindowHook (Line 762, "Vcl.ActnMenus.pas" + 20) + $F [50CFF425]{vcl270.bpl } Vcl.Controls.TWinControl.Update (Line 12478, "Vcl.Controls.pas" + 1) + $12 [50CFF43D]{vcl270.bpl } Vcl.Controls.TWinControl.Repaint (Line 12484, "Vcl.Controls.pas" + 2) + $4 [50D80DBE]{vcl270.bpl } Vcl.ComCtrls.TToolBar.Resize (Line 25932, "Vcl.ComCtrls.pas" + 3) + $4 [50CFD366]{vcl270.bpl } Vcl.Controls.TWinControl.WMSize (Line 10932, "Vcl.Controls.pas" + 20) + $6 [50D7D508]{vcl270.bpl } Vcl.ComCtrls.TToolBar.WMSize (Line 23941, "Vcl.ComCtrls.pas" + 1) + $2 [50060197]{rtl270.bpl } System.TObject.Dispatch (Line 18835, "System.pas" + 11) + $0 [50CF7172]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6 [500646D9]{rtl270.bpl } System.@FinalizeArray (Line 33228, "System.pas" + 24) + $6 [50064570]{rtl270.bpl } System.@FinalizeRecord (Line 33044, "System.pas" + 56) + $1E [50DF4D77]{vcl270.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5636, "Vcl.Themes.pas" + 18) + $1E [50CF8C36]{vcl270.bpl } Vcl.Controls.TControl.GetStyleName (Line 8510, "Vcl.Controls.pas" + 1) + $8 [50060197]{rtl270.bpl } System.TObject.Dispatch (Line 18835, "System.pas" + 11) + $0 [50DF86AA]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7397, "Vcl.Themes.pas" + 38) + $6 [50DF88A0]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7505, "Vcl.Themes.pas" + 0) + $0 [50D8EB16]{vcl270.bpl } Vcl.ComCtrls.TToolBarStyleHook.WndProc (Line 33588, "Vcl.ComCtrls.pas" + 6) + $4 [50DF7EC6]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7110, "Vcl.Themes.pas" + 20) + $6 [50F4F3BE]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $B [50DF4E24]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5665, "Vcl.Themes.pas" + 11) + $11 [50CFA393]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F [50CFC0C7]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6 [50D7EFFE]{vcl270.bpl } Vcl.ComCtrls.TToolBar.WndProc (Line 24912, "Vcl.ComCtrls.pas" + 104) + $6 [500605CC]{rtl270.bpl } System.TMonitor.CheckOwningThread (Line 19506, "System.pas" + 2) + $0 [500608F2]{rtl270.bpl } System.TMonitor.Exit (Line 19696, "System.pas" + 1) + $2 [5006094E]{rtl270.bpl } System.TMonitor.Exit (Line 19718, "System.pas" + 2) + $7 [50CD709D]{vcl270.bpl } Vcl.Graphics.FreeMemoryContexts (Line 7281, "Vcl.Graphics.pas" + 12) + $8 [50CFB614]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10113, "Vcl.Controls.pas" + 3) + $6 [501826A4]{rtl270.bpl } System.Classes.StdWndProc (Line 18175, "System.Classes.pas" + 😎 + $0 [218D5B3F]{vclactnband270.bpl} Vcl.ActnMenus.CallWindowHook (Line 762, "Vcl.ActnMenus.pas" + 20) + $F [50CFC1D2]{vcl270.bpl } Vcl.Controls.TWinControl.DefaultHandler (Line 10465, "Vcl.Controls.pas" + 30) + $19 [50CF7C84]{vcl270.bpl } Vcl.Controls.TControl.WMWindowPosChanged (Line 7795, "Vcl.Controls.pas" + 1) + $6 [50CFD276]{vcl270.bpl } Vcl.Controls.TWinControl.WMWindowPosChanged (Line 10882, "Vcl.Controls.pas" + 12) + $4 [50D7D616]{vcl270.bpl } Vcl.ComCtrls.TToolBar.WMWindowPosChanged (Line 23987, "Vcl.ComCtrls.pas" + 16) + $4 [50CF7172]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6 [500646D9]{rtl270.bpl } System.@FinalizeArray (Line 33228, "System.pas" + 24) + $6 [50064570]{rtl270.bpl } System.@FinalizeRecord (Line 33044, "System.pas" + 56) + $1E [50DF4D77]{vcl270.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5636, "Vcl.Themes.pas" + 18) + $1E [50CF8C36]{vcl270.bpl } Vcl.Controls.TControl.GetStyleName (Line 8510, "Vcl.Controls.pas" + 1) + $8 [50060197]{rtl270.bpl } System.TObject.Dispatch (Line 18835, "System.pas" + 11) + $0 [50DF86AA]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7397, "Vcl.Themes.pas" + 38) + $6 [50DF88A0]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7505, "Vcl.Themes.pas" + 0) + $0 [50D8EB16]{vcl270.bpl } Vcl.ComCtrls.TToolBarStyleHook.WndProc (Line 33588, "Vcl.ComCtrls.pas" + 6) + $4 [50DF7EC6]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7110, "Vcl.Themes.pas" + 20) + $6 [50F4F3BE]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $B [50DF4E24]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5665, "Vcl.Themes.pas" + 11) + $11 [50CFA393]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F [50CFC0C7]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6 [50D7EFFE]{vcl270.bpl } Vcl.ComCtrls.TToolBar.WndProc (Line 24912, "Vcl.ComCtrls.pas" + 104) + $6 [2108056A]{designide270.bpl} DeskUtil.SetFocusHook (Line 473, "DeskUtil.pas" + 4) + $C [50CFB614]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10113, "Vcl.Controls.pas" + 3) + $6 [501826A4]{rtl270.bpl } System.Classes.StdWndProc (Line 18175, "System.Classes.pas" + 😎 + $0 [218D5B3F]{vclactnband270.bpl} Vcl.ActnMenus.CallWindowHook (Line 762, "Vcl.ActnMenus.pas" + 20) + $F [50CFEBA9]{vcl270.bpl } Vcl.Controls.TWinControl.SetBounds (Line 12187, "Vcl.Controls.pas" + 5) + $15 [50DF88A0]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7505, "Vcl.Themes.pas" + 0) + $0 [50D8EB16]{vcl270.bpl } Vcl.ComCtrls.TToolBarStyleHook.WndProc (Line 33588, "Vcl.ComCtrls.pas" + 6) + $4 [50D7C4F6]{vcl270.bpl } Vcl.ComCtrls.TToolBar.GetButton (Line 23326, "Vcl.ComCtrls.pas" + 1) + $8 [004B8A42]{bds.exe } AppMain.TAppBuilder.ControlBar1BandInfo (Line 5347, "AppMain.pas" + 6) + $C [212B56D0]{vclide270.bpl} IDEDockBar.TDockToolBar.SetBounds (Line 360, "IDEDockBar.pas" + 1) + $8 [50CF5019]{vcl270.bpl } Vcl.Controls.TControl.SetBoundsRect (Line 5972, "Vcl.Controls.pas" + 1) + $17 [50DC3699]{vcl270.bpl } Vcl.ExtCtrls.TCustomControlBar.AlignControls (Line 7441, "Vcl.ExtCtrls.pas" + 440) + $E [50CFA24A]{vcl270.bpl } Vcl.Controls.TWinControl.AlignControl (Line 9292, "Vcl.Controls.pas" + 9) + $A [50CFA6BA]{vcl270.bpl } Vcl.Controls.TWinControl.InsertControl (Line 9451, "Vcl.Controls.pas" + 28) + $4 [50CF5758]{vcl270.bpl } Vcl.Controls.TControl.SetParent (Line 6266, "Vcl.Controls.pas" + 9) + $4 [50D01CB9]{vcl270.bpl } Vcl.Controls.TWinControl.SetParent (Line 13956, "Vcl.Controls.pas" + 5) + $5 [208F1D19]{coreide270.bpl} IDEServices.TIDEServices.NewToolbar (Line 4560, "IDEServices.pas" + 13) + $7 [1159BE91]{Pex104.dll } Peganza.OtapiUtils.CreateDelphiToolbar (Line 291, "Peganza.OtapiUtils.pas" + 1) + $21 [1162B068]{Pex104.dll } Peganza.PascalExpert.Main.TPexWizard.CreateMenus (Line 454, "Peganza.PascalExpert.Main.pas" + 81) + $F [1162A181]{Pex104.dll } Peganza.PascalExpert.Main.TPexWizard.DoOnTimer (Line 276, "Peganza.PascalExpert.Main.pas" + 23) + $2 [50DBA947]{vcl270.bpl } Vcl.ExtCtrls.TTimer.Timer (Line 3193, "Vcl.ExtCtrls.pas" + 1) + $E [50DBA827]{vcl270.bpl } Vcl.ExtCtrls.TTimer.WndProc (Line 3151, "Vcl.ExtCtrls.pas" + 4) + $7 [501826A4]{rtl270.bpl } System.Classes.StdWndProc (Line 18175, "System.Classes.pas" + 😎 + $0 [50E5787E]{vcl270.bpl } Vcl.Forms.TraverseClients (Line 7789, "Vcl.Forms.pas" + 😎 + $6 [50E5C233]{vcl270.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11028, "Vcl.Forms.pas" + 23) + $1 [50E5C276]{vcl270.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11058, "Vcl.Forms.pas" + 1) + $4 [50E5C5AD]{vcl270.bpl } Vcl.Forms.TApplication.Run (Line 11196, "Vcl.Forms.pas" + 26) + $3 [00524DB8]{bds.exe } bds.bds (Line 222, "" + 13) + $2
  9. Fons N

    Hints on debug and release build

    Hi emailx45, thank you !!! Deleting the .DPROJ file did the trick. Yes !! As for comparing it with the old DPROJ file... which is 59K and the new one is only 8K the differences were too many, Did take a quick look and there were all kinds of references to Android and such, which I don't even have installed (neither as Delphi target platform or as an OS). But it does not matter, my problem is solved. Thanks again. Much appreciated.
  10. Fons N

    Hints on debug and release build

    Thank. I know. But the different number of hint remain also after a complete rebuild. I am still at a loss why this is. It bugs the hell out of me...
  11. Fons N

    Example of wasteful, innefficient string manipulation

    I am not sure how to read this... is it suppose to be sarcastic? I cannot just copy paste the relevant pages of the book - that would be illegal. And for just 5 euros the PDF version is a steal and again really worthwhile,
  12. Fons N

    Hints on debug and release build

    To provide some more information without a complete code dump. The hint is about a local variable in a standalone procedure. The variable occurs 4 times. At 2 times it is set to zero. In 1 time it is used in an equation. The weird part is that the hint (in release mode) is on this line of code: Inc(RecordTeller); This is an essential line of code. And this line is run multiple times. No hint in debug mode, which is what is to be expected. I have no clue whatsoever as to why in release mode this triggers the hint H2077: Value assigned to RecordTeller never used.
  13. Fons N

    Example of wasteful, innefficient string manipulation

    There is a short explanation to the FastMM internals in Mastering Delphi Programming: A Complete Reference Guide (https://www.packtpub.com/product/mastering-delphi-programming-a-complete-reference-guide/9781838989118). Along many other good stuff. The PDF version is very cheap. Really worthwhile,
  14. Fons N

    Hints on debug and release build

    Hi emailx45, Thanks for helping, but unfortunately it did not change anything. In debug mode I still only get 1 hint while in release mode I get 12 hints. The CLEAN option did not remove much by the way, so I just deleted all DCU files, but with no effect to the different number of hints. I must be some setting which is different in either mode that causes this. Will try to find out what. Again, thanks for the help. PS. All output is to my RAMDISK so after every boot of Windows (at least once a day) I will always start clean automatically.
  15. Hello, In Delphi Pro 10.4.1 the settings about Hints are the same for debug and release. But, when building my application in debug mode I only get 1 hint. When building in release mode I get more hints. Does anyone has a clue why I don't get the same number of hints? Could it be of the optimization setting? In debug mode this is set to False. In release mode it is set to True. One of the hints I get in release mode is H2077: Value assigned to <variable name> never used. In debug mode this particular hint for that variable does not exist, but the hint does show up in release mode. Clearly, if it wasn't used than wouldn't the hint show up in debug mode also..? I can guarantee that the variable is used. Any explanation will be appreciated. Best regards, Fons
×