Ian Branch
Members-
Content Count
1375 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Ian Branch
-
Interesting. I was not aware of that. Food for thought. On what basis does UPX allocate the space/block of memory? I guess this wouldn't really be an issue with modern Windows/PCs, but my Customer's Users are using older Win 7 SP1 PCs with 4GB of memory.
-
Hi Guys, I acknowledge the previous two commentors and their valid inputs, however it is horses for courses. I was simply offering a suggestion. I have used UPX for many years without any issues. Note: I use Eurekalog not MadExcept. It provides not only compression, but also therefore a small level of obfuscation to casual file browsers. That is all I need. Like? Yes I could, but, the other end is so computer illiterate that they would screw up the unzip and save process. Pacific island users. It has to be simple for them to just copy into their directory. Even then they screw it up sometimes...:-(
-
If it simply the size of the .exe you are looking to reduce, I use UPX, https://github.com/upx/upx/releases, it handles 32 & 64 bit Apps. I use a compression value of 7 and get a roughly 30% reduction in .exe size. It will also handle wild card file names, i.e. upx -7 *.exe.
-
Hi Team, My Customer lives in the dark ages and won't update is PCs from 32/64 bit Windows 7. Has anybody had any issues with any of the newer Delphi language enhancements not working as desired in 32.64 bit Apps under Windows 7? Regards & TIA, Ian
-
Current Generation methods in Apps under Windows 7?
Ian Branch replied to Ian Branch's topic in General Help
I develop on Win 11 64bit. The question was/is about Apps created & Windows 7.. It would seem that it is all OK. -
Hi Anders, Interesting. I will have a look next time. Won't be long. 😞 I have never actually had it not recover, although it has tken close to 10 minutes sometimes.
-
Hi Team, D12.2 P2. I have seen several comments about the IDE hanging. Are they really sure it has? My experience is that it appears to be hung and non-responsive but if I look in the Task Manager I can still see it doing something. No idea what. Sometimes it takes literally minutes, very frustrating minutes, and time wasting, but it eventually returns. I experience it most often when switching from Code to Design and vise-versa on my larger projects but from time-to-time on smaller projects as well. Just my experience Regards, Ian
-
Do the DevExpress VCL components play nicely with VCL Styles? If not, can they be made to? Regards & TIA, Ian
-
MyCustomCalendar.pas Hi Team, Delphi 12.2 p2. 32 bit App. It builds and installs OK but when I go to add it to a form Delphi thinks about it for a while, way too long, and then falls over. 😞 It is a derivation of TMonthCalendar. Appreciate any insights. Regards & TIA,
-
Tks Lajos, You, that fixed it Tks. I didn't think about the race condition it would set up. Ian
-
Source still built even though the DCUs are first in the path..
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
Ahhh. Thank you Uwe for the clarification and options. Much appreciated. -
Source still built even though the DCUs are first in the path..
Ian Branch posted a topic in Delphi IDE and APIs
Hi Team, I was/am under the understanding that if I build a function library such that the DCUs are in a bin directory, add it to Delphi, and add the bin and source directories, in that order, the source should not be rebuilt with the App if an element of the library is used. Is this the case? The reason for the question is that this is not what is happening here. Regards & TIA, Ian -
Hi Team, I have had a small dabble with various AI machines, Meta, ChatGPT & Gemini. None of them seem ready for prime time, yet. Getting close. I am seeking opinions of the use of one.any of the AI's in the IDE v keeping it separate via a browser? If in the IDE is favoured, which interface/AI? Regards, Ian
-
Handing over the baton to Thomas and Lars
Ian Branch replied to Daniel's topic in Community Management
Hear, Hear. -
What new features would you like to see in Delphi 13?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
I build 32 bit Apps exclusively because my Customers refuse to update their 32 bit Windows 7 PCs. Yes, I develop on a 64bit PC. -
Doh! Well, isn't that counter intuitive... Speaks volumes about how we 'journalise' when we read.. Thank you. All sorted now. Regards, Ian
-
Hi Team, Delphi 12.2. I have the following line: ShowMessage('State: ' + System.TypeInfo.GetEnumName(TypeInfo(TDataSetState), Ord(APD.State)) + '. Job # = ' + IntToStr(APD.JobNo)); I tried adding System.TypeInfo to the uses clause but Delphi complains it can't compile it. The issue I have here with this line of code is that Delphi tells me it expects a '(' but found a ',' after the TypeInfo. I checked the code at https://docwiki.embarcadero.com/CodeExamples/Athens/en/TypInfoGetEnumName_(Delphi) and I am consistant with it. Have I missed something or is this a bug? Regards & TIA, Ian
-
Hi Team, Further issues/changes have been identified/adressed in PasZip as a follow on to my initial issue. The current PasZip can be downloaded from https://github.com/synopse/mORMot Regards, Ian
-
Hi Team, I recently started to play in 64 bit. Normally I was 32 bit exclusive. I ran up against an issue with paszip.pas, used in a couple of places in various 3rd Party libraries. I kept geting an error at line 4341 or thereabouts: file_ := INVALID_HANDLE_VALUE; Tracing, I found variable file_ was defined at line around 3963 as a DWORD: file_: dword; This is fine in 32bit but problematic in 64bit. The solution was to change the declaration to: file_: THandle; Now paszip.pas builds without issue in both 32 & 64 bit. HTH in some way.. Regards, Ian
-
Hi Team, My Customer, and I, really like the Emerald Light Slate style, with the exception that shades of Blue would be better than the shades of Green. If you can, how do you change the colours of the Style? In this case in particular the buttons. Regards & TIA, Ian
-
Resolved. It turns out that Aqua Light Slate is the one that I needed/wanted all along.
-
Hi Gord, Thank you for your input. I see what you are suggesting with the Onyx Blue but regrettably it isn't practical. 31+ projects, hundreds of forms in the suite.... I had a play with the Delphi Style Designer but it seems the colors are defined in a bitmap or similar file and I couldn't figure out how to change them.
-
How to get the version of Delphi that the App is built with?
Ian Branch posted a topic in General Help
Hi Team, At the moment I use a variable to indicate the Delphi version for an About box in Apps. This looks like this: Delphi Athens 12.2 Patch 2. Is there some meaans within Delphi to return this information, or a reasonable semblance, so I don't have to manually update the About box? Regards & TIA, Ian -
How to get the version of Delphi that the App is built with?
Ian Branch replied to Ian Branch's topic in General Help
As could I, but I was hoping for something more informative from Delphi. That 'uniquely identifying number' is applicable to Delphi 12.0, 12.1, 12.2, 12.2 Patch 1 & 12.2 Patch 2. Never mind. I will stick with manual updates as required.