Jump to content

TigerLilly

Members
  • Content Count

    39
  • Joined

  • Last visited

Posts posted by TigerLilly


  1. Cleaned up the search path and because I had some spare time updated al my components. And now the compile finishes without error. So , no, there is AFAIK no length problem with BrccCompile.

    Unforunately I have no idea, what was the cure. :- (


  2. BrccCompile fails with ..\..\images\GXIcons.rc : error : Error Could not open input file C:\RAD_Lib\GExperts\Projects\DelphiXx110Alexandria\FN
    C.RC

     

    This is misleading error, because there is no FNC.RC. Is there a limitation for the -ic<path> with BrccCompile? My path is quite long and this is the only explanation I find, why thos error could occur.

    Any idea, how I can work around this?

     

    Or am I missing something?

     

    Thanks fpr every hint!


  3. The resource is there. The form can be created in the IDE and at runtime, except sometimes.

     

    But anyway, I will work around the TOpenDialog and willl wait what will happen.


  4. I have information from a customer that the message "EResNotFound Ressource PREVIEWGLYPH not found" is sometimes thrown as an exception when creating a form. But this is not reproducible and not always/often/with every user. I have not had this with any other customers. The software is operated via terminal server on several TS with load balancing. Doesn't depend on the actual TS either.

    I don't understand how the message can come up at all. The resource is there or not. AFAIK the ressource belongs to TopenPicDialog, if this helps.

    Thanks for any hints!


  5. - manually rebuild latest GExperts

    - Start D11.1

    - show GExperts config dialog + close with ok

    - in the Delphi code editor click right mouse for popup menu

     

    --> there is a bit of delay and then Delphi exits without any message or error

     

    tx!


  6. ChatGPT does not _understand_ the question, nor does it _understand_ its own answer. ChatGPT tries to detect some kind of pattern, the question fits in and generates an answer, again dpending of patterns. While ChatGPT  is astonishingly good at both, patterns tend to have kind of grey areas where information is not exakt or not right. So it is quite easy to make ChatGPT give complete nonsense answers. So both Nietzsche as well as Beethoven are named as Austrian people. Restricting the question to living Austrians is funny enough:

    Tell me some famous Austrian people.
    
    Some famous people who are from Austria include:
    
        Wolfgang Amadeus Mozart (composer)
        Arnold Schwarzenegger (actor and politician)
        Sigmund Freud (psychologist)
        Gustav Klimt (artist)
        Friedrich Nietzsche (philosopher)
        Ludwig van Beethoven (composer)
        Adolf Hitler (politician)
        Josef Hoffmann (architect and designer)
        Franz Schubert (composer)
        Maria von Trapp (singing family made famous by the movie "The Sound of Music")
    
    Bernd Maierhofer
    Living ones!
    
    Sure, here are some famous living Austrians:
    
        Thomas Klestil (former President of Austria)
        Gerard Mortier (opera director)
        Elfriede Jelinek (Nobel Prize-winning author)
        Michael Haneke (film director)
        Helmut Marko (Formula 1 racing official)
        Andreas Maislinger (founder of the Austrian Holocaust Memorial Service)
        Wolfgang Puck (chef and restaurateur)
        Johann Wolfgang von Goethe (alpine skier)
        Christina Aguilera (singer and actress)
        Alain Prost (Formula 1 racing driver)

    Thomas Klestil died in 2004. Johann Wolfgang von Goethe definintely is nor was an alpine skier. So here are 5 answers wrong.

    • Like 1

  7. On 8/23/2022 at 4:38 PM, Bill Meyer said:

    Yes, I noticed that. But now considering also the issues offered in the article on Coding Horror. The opportunity to explore is the motivator, but between those warnings and the finite time I have for such things, I may simply pass.

    We now live in 2022 - the article dates back to 2004. Things have evolved in the meantime. Mormot is open source and does a good job. There are commercial products too, Aurelius to mention one, I personally know. There is a learning curve, but it´s worth.

    • Like 1

  8. 19 hours ago, merijnb said:

    Hi, I'm wondering what's the best way to approach a running async / await when the application is closed.

    I see two options:

    1) abort whatever is running async,

    2) wait for what is running async to finish. To wait for it to finish I probably need to have a message loop running (because Await needs to be called which goes through a message?), but I don't  want to run the message loop of the entire application (ie call Application.ProcessMessages()). Is there someway to call a message handler for Omnithread only?
     

    1) May not be that easy, because you can only signal to stop. It ma ytalke a while for the async task to realize thios and react.

    2) Is preferred (by me), but not by looping (which will freeze the UI), but starting a timer (so the UI stays responsive) and this waiting until the task has stopped and closing the app is save.


  9. As long as you are working with CDS, that load their data from a file, there is no need for an provider. Just use master/detail as usual.

     

    You can try this example to see how a provider comes into play along with a nested dataset:

    Put a TQuery on a form and connect it to some database. Drop a TDataset and wire it to the Query.

    Put another Query on the form and connect the mater property to the dataset.

    Put a provider an the form and coinnect it to the first query.

    Put a clientdataset on the form and connect it to the provider. Now you can retrieve the fields and have the second query as a nested dataset.

×