I am trying to install TMS TWebupdate in Delphi 11.1 using the last verion I have, which installs fine in Berlin and Tokyo. Alas it Alexandria it gives an error [dcc32 Error] wupdate.pas(2342): E2003 Undeclared identifier: '_WIN32_FIND_DATA'
TMS no longer provide TWebupdate as a standalone component, and I cannot £320 for the VCL Pack it is now part of!
Anyone know how to resolve this?
CodePudding user response:
Previously, there was a
_WIN32_FIND_DATA
which was an alias for
_WIN32_FIND_DATAW
Now, Embarcadero has decided not to include such aliases any more, so you need to append the W
yourself.
(Of course, there's also a _WIN32_FIND_DATAA
, but today we only need the wide version.)
Alternatively, you can use WIN32_FIND_DATA
or WIN32_FIND_DATAW
or the more Delphi-like TWin32FindData
(or TWin32FindDataW
). These are all the same thing.