Jump to content

David Hoyle

Members
  • Content Count

    187
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by David Hoyle


  1. Okay, I'm leaning towards the issue being FMX verse VCL. I iterated all the packages below and picked out all the components and found duplicates between the frameworks.

    image.thumb.png.70a94052da6b7c6f0e8bde593ed4d919.png

    So I think GetClass() is looking up in FMX instead of VCL. Since it's now failing, selecting a VCL only component does nothing as GetClass() cannot find the component (which does not exist in FMX).

    Getting a bit late now but I know that on occasions the IDE prompts you to select which framework you are using (FMX or VCL) and I need to find out how we influence this determination (starting a new VCL app didn't work but then again I didn't save it).


  2. I've just installed FixInsight and it crashes the IDE on close down. Stack trace below (from another instance of the IDE).

    :1d8872cd ; D:\Documents\RAD Studio\Binaries\FixInsight\FixInsight.Parser.dll
    :1d8875af ; D:\Documents\RAD Studio\Binaries\FixInsight\FixInsight.Parser.dll
    :1d8afb07 ; D:\Documents\RAD Studio\Binaries\FixInsight\FixInsight.Parser.dll
    :1e6c524f ; D:\Documents\RAD Studio\Binaries\FixInsight\FixInsight_10_4.bpl
    RTL.System.TInterfacedObject._Release
    RTL.System._IntfClear(???)
    :500683eb @IntfClear + $13
    RTL.System._FinalizeRecord($1BB58B98,???)
    RTL.System._FinalizeArray($1BB58B98,$20867028,1)
    RTL.System._Dispose(???,???)

    I'll report this later on tonight - need food first.


  3. Its a little difficult to answer, not knowing what you are trying to achieve but editor key bindings do have limitations.

    There is nothing obvious in the OTA that suggests why it doesn't work for DFM (code) however an alternative would be to install an action in the IDE and handle it from there.

    You could also use the INTAEditServicesNotifier.WindowComand() to see if the keyboard binding is received by the DFM code editor.

     

    Just think while rereading your message, are you referring to the form designer? If so, it's not a code editor and so will not react to key bindings so you would need to use actions.


  4. Uwe,

    I have the same issue with one of my application. The app allows the user to adjust the main font by a few points (so old people like me can read the text) but the down side is as you describe: either loose style and colour changes or do extra work. So I would vote yes for some change to the style elements similar to below

    TStyleElements = set of (seFont, seFontName, seFontSize, seFontStyle, seFontColour, seClient, seBorder)

     


  5. Re: Circular reference, I don't think so. You are specifying a PATH variable for your account (user account), rather than the machine, so you are inheriting the path picked up by the IDE (from the shell) and then appending to it.

    Its just the same as starting a comment prompt and doing

    SET PATH=%PATH%;D:\Path\

    to add a new temporary directory to the path.


  6. I generally put these kind of functions in a record to group them and only put the inline directive in the interface however I do place a {$IFNDEF DEBUG} around the inline directive as I’ve found that I could not step through the methods while debugging. I know you need to keep the GExperts code backwards compatible so the record group is just a nice to have thing.


  7. Thomas,

    After reading this (and installing GExperts yesterday) Norton decided to remove the setup programme from my backups (currently being written) a few minutes ago.

    Its a generic trojan signature from 2014 (see link below).

    Are you using an old installer, say an INNO Setup from a few years ago (not saying there is anything wrong with INNOSetup as I use it myself) as I've had issues with Norton and INNOSetups for my application in recent months and I've had to submit false positives to prevent the removals?

     

    https://www.symantec.com/security-center/writeup/2014-042811-4408-99?ssdcat=118&vid=42878&product=Norton+Internet+Security&version=22.19.8.65&plang=sym%3aEN&layouttype=Retail&buildname=Retail&heartbeatID=858F9723-5766-47AE-B1EA-A12BC01D7C8D&eapenabled=false&env=prod&vendorid=1000&plid=2&plgid=2&skup=20991804&skum=21376863&skuf=20985775&endpointid=858F9723-5766-47AE-B1EA-A12BC01D7C8D&partnerid=1000&lic_type=2&lic_attr=17059858&psn=DPR7Y49F6VQ9&puid=5039&templatecat=SBU_W_1000_5039_NIS_Retail_2&schemacat=SBU_W&schemaver=1.0.0.0&olpchannel=RETAIL&osvers=10.0&oslocale=iso%3aGBR&oslang=iso%3aENG&os=windows

×