Forum for GExperts

 

Since Google is shutting down Google+ and the Yahoo mailing list does no longer accept my emails, I have been looking for an alternative which will hopefully be available for a bit longer this time.

There is now a GExperts sub forum in the brand new English Speaking Delphi Praxis forum. Everybody is invited to sign up and participate.

Please note that my preferred way for getting bug reports and feature requests is still a ticket on SourceForge.

Here is the current content of the forum’s RSS feed

  • Build to deploy process
    on 2021-05-06 at 07:47

    Hello, I have an automation system to deploy a big application. In this automation system I build some projects in Delphi. I use the "Set Component Properties" of GExperts to update some properties before the build process. I do this "by hand" setting this: Is it possible to use a command line for any tool of GExperts? Or an sdk to implements this? Thanks, Eddy

  • D10.4.2 GX 1.3.17 : error pasting components on FMX projects when another source edit window is opened
    on 2021-04-06 at 08:15

    Hello, in FMX projects, when another source edit window is opened (no multimonitor, simply form splitting between form designer and code editor) copy and pasting fmx components on the form causes the textual representation of the comps to be pasted in the source editor. I've also opened a ticket https://quality.embarcadero.com/browse/RSP-33592 thinking that was a Delphi issue. It seems GExperts causing this behaviour, uninstalling them fixes. Do you know some trick for making them work in this context? Gexperts are unvaluable, otherwise I think I'll do without the second edit window 😉  

  • r3451 build error
    on 2021-03-08 at 00:21

    "I:\GExperts\Projects\DelphiXx104Sydney\GExpertsRS104.dproj" (rebuild target) (1) -> (_PasCoreCompile target) -> I:\GExperts\Source\UsesExpert\GX_UsesExpert.pas(374): error F2613: Unit 'GX_StringGridDrawFix' not found. [I:\GExpert s\Projects\DelphiXx104Sydney\GExpertsRS104.dproj] 0 Warning(s) 1 Error(s) The unit is there, I added it to the project and was able to build.   This build seems to have fixed the assertion error I was seeing during shutdown 😉

  • EAssertionFailed exception raised when installing GetIt Package requiring Restart
    on 2021-03-07 at 23:08

    Hi,   The following exception is raised when installing or uninstalling a GetIt Package that requires the IDE to restart.     This happens in both Delphi 10.4.1 and 10.4.2.   For example, I got this exception updating to the newer version of FmxLinux in both IDEs.   This is with 1.3.18 release of GExperts.

  • Delphi 10.4.2 application switch after using open file expert
    on 2021-03-03 at 10:56

    Hi, I'm using the latest release in Delphi 10.4.2When I'm using the open file expert, after opening a file focus changes to the application which had focus before Delphi was focused. This application is also set in front of Delphi. I've traced where in code this happens, it seems to be done by the call to ActionServices.OpenFile(FileName) done by GxOtaOpenFile. I'm not really into ToolsAPI and stuff, but is this still gexperts scope or is this a bug in the IDE?   function GxOtaOpenFile(const FileName: string): Boolean; var ActionServices: IOTAActionServices; begin ActionServices := BorlandIDEServices as IOTAActionServices; Assert(Assigned(ActionServices)); Result := ActionServices.OpenFile(FileName); end; Can someone confirm they see the same behavior? The same code for me works fine in 10.3.   This workaround seems to fix the issue:   function GxOtaOpenFile(const FileName: string): Boolean; var ActionServices: IOTAActionServices; begin ActionServices := BorlandIDEServices as IOTAActionServices; Assert(Assigned(ActionServices)); var h := GetForegroundWindow(); Result := ActionServices.OpenFile(FileName); SetForegroundWindow(h) end;  

  • Runtime Error 217 when installing GExperts
    on 2021-03-01 at 13:00

    I did a clean install of Delphi 10.4.2. One of the first steps is to compile and install GExperts. SVN revision 3449 compiled fine, but when running the "Register-GExperts-XX104.cmd" it fails with "Runtime error 217 at 50CDB390", followed by "Problem beim Starten von .\GExpertsRS104.dll. Eine DLL-Initialisierungsroutine ist fehlgeschlagen."   To trace the error I compiled GExperts in Debug mode, using Debug-DCUs. Then I used Run->Parameters to set "C:\Windows\System32\rundll32.exe" as "Host", and the full path to the compiled GExpertsRS104.dll and ",InstallGExperts" as parameter:   Host application: C:\Windows\System32\rundll32.exe   Parameters: C:\Full\Path\To\GExpertsRS104.dll,InstallGExperts   Now I could debug the installation from within the Delphi IDE. The startup-code InitUnits (in System.pas) initializes all units and calls class constructors; and in Vcl.WinXCtrls.pas it calls a class constructor TSearchBox.Create. This code creates an internal TImageCollection and adds two default images, which finally leads to TWICImage.Create in Vcl.Graphics.pas (Line 10624 ff).   The call to CoCreateInstance(CLSID_WICImagingFactory, ...) fails with error code $800401F0 = CO_E_NOTINITIALIZED =  'CoInitialize has not been called' and an exception is raised with message 'Cannot create instance of class CLSID_WICImagingFactory'.   To solve this problem, I need to insert CoInitialize(nil) somewhere, and because I won't change VCL and RTL units I had to find another place. Finally I found that the initialization block in GX_GenericUtils.pas is called some steps before the exception is raised, and already uses unit ActiveX, so I placed a CoInitialize(nil) in GX_GenericUtils.pas initialization block. initialization CoInitialize(nil); // this line added Initialize; ... And the error is gone! Finally I could install GExperts into Delphi 10.4.2 😉 [Yes, I know how to use RegEdit]. @dummzeuch : […]

  • Restore Dock Window after IDE restart?
    on 2021-02-28 at 10:33

    I run GExperts r3446 in Delphi 10.4.2 on Windows 10 x64. I am trying out the new "Dock Window feature" which seems to be a godsend for me as a specific nested IDE panel is constantly changing its position on the second monitor. At first, it seems to work well (placed the Dock Window on the second monitor). However, the Dock Window and its panel docked into the Dock Window are not being restored after IDE restart, although I have saved everything in a specific IDE desktop and declared that IDE desktop as "default" and "startup".   So how can I make the GEperts Dock Window and its content automatically restore after IDE restart?

  • GExperts 1.3.18 experimental twm 2021-02-21 released
    on 2021-02-21 at 14:55

    COVID-19 got us all down a bit and even with the vaccines theoretically available now, the light at the end of the tunnel seems very far away. My own turn for a jab will probably not come before fall 2021, so I can only hope that summer will reduce the infection rates as much as it did last year, but the new mutants that spread around the world definitely aren’t good news.   Maybe I can lighten up your mood a bit with a new GExperts release. There are a few bug fixes and an also a few new features in the new version, but nothing really exciting.   read on in the blog post.

  • Gexpert compile under Delphi 10.4
    on 2021-02-18 at 19:17

    Hi,   I can compile the Standard Gexpert Project. But with the StandAlone projects I have Problems Code Formatter, Code Librarian and Debug Window I also can compile   The other Standalone programs I can't compile   Der Buildvorgang wurde am 18.02.2021 20:05:20 gestartet. Projekt "f:\GExpress_SVN\Projects\StandAlone\Grep\DelphiXx104\GExpertsGrep.dpro j" auf Knoten "1", rebuild Ziel(e). f:\GExpress_SVN\Projects\StandAlone\Grep\DelphiXx104\GExpertsGrep.dproj(106,5):  error MSB4019: Das importierte Projekt "C:\Windows\Microsoft.NET\Framework\v2. 0.50727\Borland.Delphi.Targets" wurde nicht gefunden. Vergewissern Sie sich, da ss der Pfad in der <Import>-Deklaration korrekt und die Datei auf dem Datenträg er vorhanden ist. Die Erstellung des Projekts "f:\GExpress_SVN\Projects\StandAlone\Grep\DelphiXx1 04\GExpertsGrep.dproj" ist abgeschlossen, rebuild Ziel(e) -- FEHLER. Fehler beim Buildvorgang. "f:\GExpress_SVN\Projects\StandAlone\Grep\DelphiXx104\GExpertsGrep.dproj" (rebu ild Ziel) (1) ->   f:\GExpress_SVN\Projects\StandAlone\Grep\DelphiXx104\GExpertsGrep.dproj(106,5😞 error MSB4019: Das importierte Projekt "C:\Windows\Microsoft.NET\Framework\v 2.0.50727\Borland.Delphi.Targets" wurde nicht gefunden. Vergewissern Sie sich, dass der Pfad in der <Import>-Deklaration korrekt und die Datei auf dem Datentr äger vorhanden ist.   and similar Errors   Does anybody has solved this issues?   best regrads   Torsten

  • About GExperts / some frequently asked questions
    on 2020-12-24 at 10:18

    What is GExperts? GExperts is a plugin for the Delphi IDE that adds many enhancements and also fixes some bugs.   Which Delphi versions are supported? By the time of this writing GExperts supports Delphi 6 to 10.4 (with the exception of Delphi 8). GExperts releases always support/require the latest update for each Delphi version available at the time of the release.   Where can download it? There is a link to downloads for the current and older releases on https://gexperts.dummzeuch.de   I found a bug, what do I do? Please file a bug report. If you happen to have already fixed this bug, please also attach a patch or an archive with the changed source files.   I have a brilliant idea for an improvement. What do I do? Please file a feature request.   I have added some improvement to GExperts. Where can I submit it? Please also file a feature request and attach a patch or an archive with changed source files.   Why shouldn't I report bugs an request features through this forum? I prefer to work on the actual program rather than being my own secretary. Taking posts from the forum and create the bug reports / feature requests is boring and time consuming work. I don’t want to do that work.   Where is the source code? See compiling your own DLL.   Why is GExperts still on SourceForge rather than on Github like all the other important projects? I happen to like SubVersion better than Git. Github does not support SubVersion (apart from a bridge with limited features).   What if I have a question not covered in this list? There is a more comprehensive list of frequently asked questions on my homepage Additional questions can of course be asked in the forum.

  • Where to report bugs or feature requests? Or how to make pull request?
    on 2020-12-22 at 07:13

    Fast search did not give me any help for this. Is this OK place for feature requests/ bugs or is there better place?     -Tee- PS. Oh, seems to be SourceForge, maybe? Which is not super nice, but It'll do if that is preferred place 🙂

  • Project Backup - Include HTML Files
    on 2020-12-15 at 21:19

    Hi,   With TMS Web Core integrating into the IDE for web-applications, when backing up a web-project, GExperts currently backs up the HTML-file for the project, but not the HTML-files associated with any forms in the web-project.   Can the Project Backup functionality please be extended to also include the forms' HTML-files in the zip-file?   Thanks in advance.   Regards,   Roland Skinner  

  • Grep broken in SVN after rev. 3383
    on 2020-12-01 at 15:20

    Hello Thomas, I would just like to notice that the "Grep" expert is no longer available due to some changes in SVN rev. 3383 ff. The defined hotkey does nothing, and the menu item is gone. The new Grep submenu has "show Grep results", but no "Grep search".

  • GExperts config
    on 2020-11-25 at 11:28

    Pressing escape anywhere on the config window closes the form automatically losing every changes. <o>

  • GExperts menu too long
    on 2020-11-25 at 11:21

    I just installed GExperts for D2007 as there is no code-formatter out of the box and saw that the GExperts menu is taller as my screen. Just saying.

  • Crash starting delphi 10.4.3
    on 2020-11-20 at 16:21

    Just installed GExperts 1.3.17 in Embarcadero® Delphi 10.4 Version 27.0.37889.9797 i.e Sydney with Patch 3. Starting Delphi now throws the following error. Tried uninstalling & reinstalling (same issue). Tried manually running the ExpertManager.exe - gives same error.    --------------------------- Expertmanager: ExpertManager.exe - Entry Point Not Found --------------------------- The procedure entry point @Deskform@TDesktopForm@AdjustLastLoadedBounds$qqrv could not be located in the dynamic link library C:\Program Files (x86)\GExperts for RAD Studio 10.4\GExpertsRS104.dll.  --------------------------- OK    ---------------------------

  • Cannot install GExperts in Delphi 10.3
    on 2020-11-18 at 18:07

    Hi all,   I used regularly and without any problem GExperts in Delphi 10.2 on a Win 10 Pro PC. After upgrading Delphi to 10.3 and uninstalled previous GExperts release for D 10.2, I successfully installed the latest GExperts release. Now I get the following errors messages when I launch Delphi. They are translated from Italian, so maybe they are not exactly as should be in a Win 10 English PC.   'Impossible to find the procedure entry point @System@Classes@TFieldCache@bcctr$qqrv in dynamic link library C:\Program Files (x86)\GExperts fror RAD Studio 10.3\GExpertsRS103.dll' I click 'Ok' in the dialog window, then another message appears: 'Could not find Wizard, 'C:\Program Files (x86)\GExperts fror RAD Studio 10.3\GExpertsRS103.dll'. I click 'Ok' again and Delphi loads regularly.   GExpertsRS103.dll is in C:\Program Files (x86)\GExperts fror RAD Studio 10.3\ directory. I tried also to install all the previous GExperts releases compatible with Delphi 10.3 but the errors are the same.   Launching ExpertManager.exe I get another error: 'Exception in module ExperetManager.exe at 0005BC60. Could not load library GExpertsRS103.dll.'   I haven't tried yet to uninstall and reinstall Delphi given all the third part extensions/components. Before doing this, any hint to solve the situation?   Thanks in advance.

  • Feature request: remember debugger exception dialog size
    on 2020-11-13 at 03:06

    Could we please have this dialog remember its size after changing it? Right now it doesn't, and thus half of the text is obscured the next time the dialog pops up. 🙂    

  • Feature Request for String Paste As
    on 2020-11-11 at 10:22

    Hello!   Would be nice to have an type "%s +" in the PasteAs options for SQL statements. There is not neccessary to include any linebreak in the string itself, only in the Pascal source. LSQL := 'SELECT * ' + 'FROM myTable ' + 'WHERE myCol=1 ' + 'ORDER BY id DESC'; Please note the space prior to the closing quotemark in each line.   Greetz Cody

  • Grep problem in 10.4.1
    on 2020-11-06 at 06:07

    The above image is what my Grep results window looked like after compiling version 1.3.17 and using it for a while in Delphi 10.4.1. After reading and trying suggestions in the discussion about the Grep window being blank and nothing working, I went into the GExpert's registry entries and discovered the value "ContextHeightPercent" was set to 125. Reducing the value under 100 fixed the problem. My guess is after checking the check box "Save context display (fixed) height", something caused the Context section to get set above 100% and from then on nothing would allow me to set it lower. I did not look at the code, but I would think it needs some logic to keep the context section from going over some value less than 100% to keep it from covering over all the other components.

 Posted by on 2018-10-27 at 13:57