-
Content Count
84 -
Joined
-
Last visited
Everything posted by Nigel Thomas
-
Undeclared identifiers X509_get_X509_PUBKEY, i2d_X509_PUBKEY_bio
Nigel Thomas posted a topic in ICS - Internet Component Suite
Hi, Updated my installation of ICS 9 from Subversion today, now when I compile the OverbyteIcsHttpRestTst sample compilation fails with undeclared identifiers in OverbyteIcsWSocket, in this function: function TX509Base.GetX509PubKeyTB: TBytes; { V9.1 } var ABio : PBIO; PubKey: Pointer; begin if NOT Assigned(FX509) then begin SetLength(Result, 0); Exit; end; ABio := BIO_new(BIO_s_mem); if Assigned(ABio) then try PubKey := X509_get_X509_PUBKEY(FX509); if PubKey = Nil then Exit; if i2d_X509_PUBKEY_bio(ABio, PubKey) = 0 then Exit; Result := IcsReadTBBio(ABio, 0); finally bio_free(ABio); end; end; Nigel -
ICSSnippets sample Access Violation running as 64Bit
Nigel Thomas posted a topic in ICS - Internet Component Suite
Hi, The following access violation occurs when running the "HTTP Dowload List of Files" snippet with the program compiled as 64Bit: HTTP Error - Access violation at address 000000000090E55F in module 'OverbyteIcsSnippets.exe'. Read of address 0000000000000004 It works seamlessly with no errors when the program is compiled as 32Bit. Using latest svn version of ICS 9.1, compiled using D11.3 CE running on Windows 10 and on Windows 11. Full diagnostic attached. Is this issue duplicatable or just something to do with my setup? diag.txt -
D2007: Initialise byte array in const record
Nigel Thomas posted a topic in Algorithms, Data Structures and Class Design
Using Delphi D2007. I'm trying to do the following: type FileSig = record Offset: Integer; arrSig: array of byte; end; const sig1: FileSig = (Offset: 10; arrSig: array [0..2] of byte = ($00,$01,$02); ) But I can't: E2029 ')' expected but ',' found In D10+ I can do: const sig1: FileSig = (Offset: 10; arrSig: [$00,$01,$02]; ) Is there a way I can do similar in D2007? -
D2007: Initialise byte array in const record
Nigel Thomas replied to Nigel Thomas's topic in Algorithms, Data Structures and Class Design
Thanks. I've worked around it by declaring FileSig.arrSig as a fixed array, e.g: array [0..4] of byte, then I can set the const array using padding where necessary e.g. arrSig: ($00, $01, $02, $00, $00); By adding a SigLength to the FileSig type I will know what padded bytes I can remove when I come to using the array. -
D2007: Initialise byte array in const record
Nigel Thomas replied to Nigel Thomas's topic in Algorithms, Data Structures and Class Design
E2010 incompatible types: 'dynamic array' and 'Set' -
Looking for a couple of good "starter" Delphi books
Nigel Thomas replied to t2000kw's topic in General Help
Don't get hooked up on just books. There is a lot of useful visual material on the Net that is targeted at Delphi beginners. Embarcadero's Helpful Resources for New Users has some good links to both books and visual resources. -
Can't complete installation of RAD 10.4
Nigel Thomas replied to Luis Enrique's topic in General Help
Check where the GetIt server is pointing and try an alternative. In the registry key HKCU\Software\Embarcadero\BDS\21.0\CatalogRepository look at the value for "ServiceUrl". If it isn't already, change this to https://getit.embarcadero.com and retry the installation. That's the url my copy of D10.4 (CE) is pointing at, and the GetIt Package Manager seems to connect fine. -
I've used FileZilla for some time. I've just checked my latest installation: Version 3.66.5 Signature: VirusTotal: As @Vincent Parrettsuggests, the installer referenced by the OP may indeed bundle "sponsorship" software. Each time FileZilla updates it shows a sponsorship screen stating who sponsored the latest update - but it's only shown the once and is not intrusive.
-
That's not a code-signing certificate, that's just a time-stamped certificate. A code-signing certificate looks like this:
-
[dcc32 Fatal Error] F2039 Could not create output file
Nigel Thomas replied to RockWallaby's topic in Delphi IDE and APIs
Ask yourself if you really need an alternative to what is already built into your Windows OS - Windows Defender. It's always-on, it's updated several times a day as new threats emerge, it's as built-in to the OS as any AV can be, it's configurable - and it's free. Edit to add: I rely far more on disk image backups to protect against malware occurrences (and other issues like hardware failure), and would recommend such as the first line of defence. No anti-malware program can protect you against the next 0-day, until many systems - maybe yours, maybe mine - have already been compromised. -
GetIt Package Manager Delphi 11.3 Timeout
Nigel Thomas replied to VolkerS's topic in Delphi IDE and APIs
And, I'm pleased to say, the GetIt server is once again available in Delphi 11.3 CE. My cyniscism was misplaced. -
GetIt installation does not work
Nigel Thomas replied to PeterPanettone's topic in Delphi IDE and APIs
Is it cynical to suggest that Embarcadero won't bother repairing getit servers for earlier versions? They don't seem to like having to support any version other than the current. -
How to obtain new 1-year licence for RAD Studio 10.4.2 CE
Nigel Thomas replied to Willicious's topic in Delphi IDE and APIs
Bite the bullet. Download and install Delphi CE 11.3 (the current available CE edition). When you register for it, you'll get a new key. Migrate your project to the new version - I doubt it will need much changing to work as-is. Frankly, it's not as if you have much choice unless you want to pay for a Professional version (which does give you licences for previous versions). One word of caution: I'd hang back for a few days before downloading/installing CE 11.3 until Embarcadero have all their servers working properly again. -
Nobody told me ..shrug..
-
https://altd.embarcadero.com//download/radstudio/10.3/delphicbuilder10_3_2_496593b.iso
-
You should be able to check here: https://getitnow.embarcadero.com/ Edit to add: although unless the listing description mentions Delphi 12, I'm not sure it helps for determining if any particular component has been updated to support the latest.
-
Windows 10 not loading the Settings app after 22H2 upgrade/update
Nigel Thomas replied to JohnLM's topic in General Help
start ms-settings:display -
Windows 10 not loading the Settings app after 22H2 upgrade/update
Nigel Thomas replied to JohnLM's topic in General Help
Not sure if this has been suggested to you before? You could try enabling a "God Mode" shortcut on your desktop. This links (usually via the old, Control Panel way) to numerous settings, you might be able to find something useful in there to reset the main Settings app. https://www.tomsguide.com/how-to/how-to-enable-god-mode-in-windows -
Delphi CE application accesses unknown IPs
Nigel Thomas replied to everybyte's topic in Network, Cloud and Web
Really? Here's the VirusTotal Sysinternals Sandbox report for network activity from a scan of the Windows 10 x64 C:\Windows\regedit.exe: (not an application you'd expect to be accessing external IP addresses) IP Traffic 23.216.147.64:443 (TCP) 23.216.147.76:443 (TCP) a83f:8110:0:0:100:0:1800:0:53 (UDP) a83f:8110:1800:0:0:0:0:0:53 (UDP) Perhaps rather more worrying for your "Advanced" Users, if they see those IP addresses from a seemingly benign Microsoft application? If your Advanced Users are paranoid enough to be concerned about the Sysinternals Sandbox report, point them to the other sandbox reports for your app which do not show any network connectivity. Nigel -
Delphi CE application accesses unknown IPs
Nigel Thomas replied to everybyte's topic in Network, Cloud and Web
Windows Defender. Or at least that's my guess, as those IPs are listed in the Microsoft Sysinternals sandbox running at V/T (not running on the OP's system). -
Does this help? https://stackoverflow.com/questions/14407759/delphi-xe3-mainform-hide
-
Do local variables have a cost?
Nigel Thomas posted a topic in Algorithms, Data Structures and Class Design
Which is more efficient - or doesn't it matter, is it just a case of readabilty: var Foo: Foo; Foo := GetFoo; DoSomethingWithFoo(Foo); Or: DoSomethingWithFoo(GetFoo); -
How can I disable IDE talking to external websites?
Nigel Thomas replied to Der schöne Günther's topic in Delphi IDE and APIs
Solution has been posted in another topic:: https://en.delphipraxis.net/topic/10435-script-errors-galore-when-launching-delphi/?tab=comments#comment-83104 -
Script Errors galore when launching Delphi
Nigel Thomas replied to instrumentally's topic in Delphi IDE and APIs
I can duplicate this issue on Berlin 10.1 - and the fix posted by @instrumentally. CE 11.3 does not have this issue. -
Hi, Is it possible to specify the directory in which to search for the OpenSSL Dlls, rather than having them in the same directory as the executable? Forgive me if this should have been easy to find out for myself; I'm an ICS virgin and it's taking me a while to find my way around the source. Nigel