

David P
Members-
Content Count
48 -
Joined
-
Last visited
Community Reputation
6 NeutralTechnical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
compiler C++ compile times: Clang (bcc32c) vs. Borland (bcc32)
David P replied to Michaell's topic in General Help
Michaell, are you using a pre-compiled header? -
compiler C++ compile times: Clang (bcc32c) vs. Borland (bcc32)
David P replied to Michaell's topic in General Help
Yes it does. Our main project is a 32-bit Clang app and it compiles in the background, using 28 threads (on a PC with 32 logical processors). In BCB2007, we used TC, but since using v10+ and changing to Clang, we have found the Clang compiler using the above settings to be on a par speedwise. This is compiling a 32-bit Clang application just using Clang Batch/background compiling. -
compiler C++ compile times: Clang (bcc32c) vs. Borland (bcc32)
David P replied to Michaell's topic in General Help
Clang batch compilation is almost as good as Twine in my experience: Project Options - Building - C++ Compiler - Geneal compilation - Enable batch Compilation plus Project Options - Project Properties - General - Run C++ Compiler in a separate Process. I have number of subprocesses set to 28. Also Tools - Options - Compiling and Running - Background compilation -
Adding MFA with an Authenticator application
David P replied to David P's topic in Network, Cloud and Web
For those that may be searching for this in the future: You need to assemble a URL and display it as a QR code so it can be scanned by an authenticator application. The format is given here: https://github.com/google/google-authenticator/wiki/Key-Uri-Format I use this string and substitue in my values. otpauth://totp/[COMPANY]:[ACCOUNT]?secret=[SECRET]&issuer=[ISSUER]&algorithm=[ALGO]&digits=[DIGITS]&period=[PERIOD] You then display it as a QR code for the user to add to their authenticator application. I found that whatever time period I entered into the URL(30sec, 60sec etc), the authenticator applications always defaulted to 30 seconds. This means your TOTP checking code also needs to use a 30s window. -
Adding MFA with an Authenticator application
David P replied to David P's topic in Network, Cloud and Web
Thanks for that. I've added OTP support already, but wish to add the use of authenticator apps like MS/Google Authenticator but there's not a lot of info out there. -
Hello Has anyone added MFA support using authenticator apps for their application? Any resources greatly received. Thanks D
-
v12.2, 64-Bit Modern Compiler and 3rd party Delphi components
David P replied to David P's topic in General Help
Hello Roger We have a copy of RADStudio so it was an easy job to compile any Delphi components. For the components where we have the source (Delphi or C++), we needed to add an additional 'Target Platform' of 'Windows 64-Bit (Modern) '. Using the macro $(Platform) in the output path will create a \Win64x output directory. For those Delphi components for which we do not have source code, we'll just have to wait for an update from the vendors. -
v12.2, 64-Bit Modern Compiler and 3rd party Delphi components
David P replied to David P's topic in General Help
The answer requires all Delphi components to also be compiled with the 64-bit Modern compiler (usually to a 64x directory) -
v12.2, 64-Bit Modern Compiler and 3rd party Delphi components
David P posted a topic in General Help
When testing BCB v12.2 I place one third-party component on a form and compile for 32-bit and 64-bit with no issues. When compling with the 64-Bit (Modern) compiler I receive the following error: [ld.lld Error] ld.lld: error: unknown file type: HTMLabel.o Do Delphi 3rd-party components need any special compilation to work with the 64-bit (Modern) compiler? -
Both 11.3 and 12.1 have that 'else' in place and both enforce the MinWidth setting. It is possible to drag to a smaller width than MinWidth but upon release it springs to MinWidth width. I'm now wondering if I was just fixating on the dragging and not when the mouse was released.
-
I submitted this as a bug and they could not reproduce it in 11.3. Now, neither can I. I can reduce the column width to below MinWidth but as soon as I release the mouse button it springs back to MinWidth. I'm starting to doubt my sanity.
-
Thanks. I'm using CB 11.3 In the interim I thought I'd detect the column widths changing and then enforce the min width, but there doesn't appear to be any event that fires when a colmn has changed size. Never mind, found a solution you wrote in 2012.
-
Hello I'm using a TListView in Report mode and I'm creating columns dynamically. I am setting TListItem.MinWidth = 50, but when ran, this is being ignored. What am I missing? Thanks David
-
We're currently using v11.3 and at the time of v12 release I didn't really see anything compelling enough to update (we're on a subscription) and go through the agro of updating all our third-party components. Is there a noticeable difference?
-
Thanks. Any idea on the lifetime of a connection/use for a code signing cert?