[fpc-devel] Changing Windows API A routines in SysUtils to W in Windows NT
Sergei Gorelkin
sergei_gorelkin at mail.ru
Tue Feb 7 10:44:11 CET 2012
07.02.2012 1:49, Thaddy пишет:
> On 6-2-2012 22:14, Sergei Gorelkin wrote:
>> under 10KBytes
> Any decent code under 10k is interesting <smile>
>
Well, here is it attached.
It was actually written for Delphi 7 with its "specific" linker. Therefore a big part of it is
Delphi specific (works with FPC, too, but FPC-only version would be even easier and smaller). Delphi
specifics also make it is incompatible with exe compressors, because it needs to read the original
image.
Add this unit to the project uses clause, put unicows.dll on the PATH, 'W' APIs should now work :)
Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unicows.zip
Type: application/x-zip-compressed
Size: 2273 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120207/771b7f50/attachment.bin>
More information about the fpc-devel
mailing list