Ian Branch
-
Content Count
1274 -
Joined
-
Last visited
-
Days Won
3
Posts posted by Ian Branch
-
-
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.
-
Hi Thomas,
Is this something that could be merged into GExperts?
https://en.delphipraxis.net/topic/354-property-editor-on-the-finest-art/
Ian
-
Hi Sherlock,
Having a play with Indy and NTP att.
Works fine here, Will have to test on the clients network to make sure the port is open.
Some progress I guess.
Thanks for the input.
Ian
-
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
-
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
-
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.
-
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
-
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
-
It's my warning that I already have Delphi open. ;-)
- 1
-
And GExperts complains on the second and subsequent instances... ;-)
- 1
-
-
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
-
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
-
Yes I have/do. :-)
-
Hmm. I like the 'Bits' concept, never used it/them.
Not good for readability though.
-
Noted & Agreed.
-
Hi Kryvich,
Interesting approach. I shall have a play.
Regards,
Ian
-
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
-
Jeremy has been in contact with me. Tks Dave.
- 1
-
YESSSS!!!! That's it. Thanks Dave.
Hoping for a D10.3 Rio version.
Regards & Tks.
Ian
-
Hi Jacek,
No, I don't believe so. It was a small plug in that somebody wrote.
Thanks for looking/responding
Ian
-
Or, You have to turn it on. :-)
No problem.
Cheers & Tks again.
Ian
- 1
-
Hi Dalija,
OK. That is what I was expecting. Your mention of the .dsk file set me to finding them. There weren't any. :-(
After some hunting, I found and turned "Save project desktop when closing" on and now it does what was/is expected.
Cheers.
Ian
-
2 hours ago, Ian Branch said:[code}
Result := inherited GetFieldData(Field, Buffer, NativeFormat);
{code}
Ah Ha! Turned out I had to change 'Buffer: Pointer' definition a little further back to 'Buffer: TValueBuffer'
All good now.
Tks.
Ian
10.3.1 has been released
in Delphi IDE and APIs
Posted
Rather than dive in and install immediately as I did with D10.3, I think I will wait a week and see what the consensus is and any little gotchyas that emerge.