Jump to content

Ian Branch

Members
  • Content Count

    1274
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Ian Branch


  1. Hi Sherlock,

    After all the investigation the issue has become moot.

    The Customer has decided to tell the multinational to fix their end and he has set all their wkstns to his local time.

    Problem resolved however it was an interesting exercise.

    My thank to all concerned for your input.

    Ian

     

    P.S.  As a Bonus - The little NTP test app I did found a PC on the Customer's network that had the Time/TZ incorrectly set up.  They are no longer in daylight saving but the flag was still set and the user had manually adjusted the clock to local/non dst time. 😞  It should have been all auto.  Fixed.


  2. HI Sherlock,

    Tks for the input.

    I had considered UTC but the Users are not the brightest. 😞

    As for the need to have a timezone different to local, it is due to a multinational's online software requiring them to be in the same TZ as their server. 😞 Unfortunately the Users can't do anything about it. 😞

    I could use an NTP service I suppose providing it was going to return the Local DTG including DST.  Have to look at some techniques.

    Regards,

    Ian


  3. Hi Guys,

    One of my Users has to have some of their PCs set to their local time and others to a different timezone. :-(

    This is causing grief in the logs as 'Now' gives the current PCs time.

    Is there a way to retrieve the Server's current Date/Time, also their local time, so the Logs will be correct?

    The Server is a Windows 2012 R2 server.

    Is there a better mechanism?

    Regards & TIA,

    Ian


  4. Oh?  I wasn't aware there were two places.  Shows how much I don't delve into the inner workings I guess.

    Found the second under Linker Options.  Not sure at all how it got set as I don't generally access this area.

    Turned it off and now file size is around what was/is expected.

    Thanks Thomas.

    Ian.


  5. Hi Attila, Peter,

    I am aware that the Debug info is included in the produced exe.  As it is for all my the Apps in the project gp. 

    The absolute size is not the issue/question.  What I don't understand is why the blowout in size compared to all the other Apps.

    Ian


  6. Hi Team,

    D10.2.3, Win 10 PC.

    I have a suite of 17 Apps in a project all using to a greater or lesser extent some 3rd party libraries.

    The Apps are all 32 bit, Debug build.

    16 of the Apps range in Build size from, in round figures, 10MB to 39MB.  No problem.

    The 17th App however, a single form with relatively few 3rd Party items in use, Builds to 55MB.  Huh?

    I am at a loss as to what is causing this blowout in size as to the best I can tell it is 'created' exactly the same as previous and later Apps. 

    I would appreciate any suggestions as to where to look for what might be blowing the file size out so dramatically.

    Note:  This is not specific to D10.3, I had the same issue with the App in D10.2.3, just now it annoy the hell out of me not understanding what the cause is. :-(

    Regards & TIA,

    Ian


  7. Hi Guys,

    Thank you for your inputs.

    It's the simple things...  I have always worked with a Delphi shortcut, or two, or three on the desktop.  It has just become a reflex to go to it an click.

    Remove the short cut and put it on the Task Bar?  I will give it a try.  Have to watch those automated fingers roaming around the desktop looking for the shortcut. ;-)

    I understand developers may want to have multiple copies open at the same time, can't really see why but that reflects what I do and how I work.

    I still think a switch to disable multiple copies to be open, or not, would be handy.  Unfortunately my skills don't extend to writing plug-ins and interacting with the IDE.

    Thanks again Guys,

    Ian


  8. Hi Team,

    D10.2.3

    Is there any way to make the Delphi only open a single instance and if I try to open it again it won't and/or goes to the already open instance?

    I keep forgetting it is open and minimised whilst I work on other things and then click unthinkingly on the shortcut. :-(

    Regards & TIA,

    Ian


  9. Hi Team,

    I am playing around with testing if a bit is set in a byte, or not.

    I can run the follow pseudo code to say test bits 1, 3 & 7 without issue..

    "If Bitset(0) or Bitset(3) or BitSet(7) then do something.."

    It will be a random test byte value being compared to the reference byte.

    My question is - Is there an easier way to do this type of thing?

    Regards & TIA,

    Ian

     

×