[fpc-pascal] Converting Delphi7 code to FreePascal with interfacing to protection key?
Sven Barth
pascaldragon at googlemail.com
Wed Mar 22 14:08:57 CET 2023
Bo Berglund via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Mi., 22. März 2023, 13:57:
> On Wed, 22 Mar 2023 12:33:16 +0100, Giuliano Colla via fpc-pascal
> <fpc-pascal at lists.freepascal.org> wrote:
>
> >Il 22/03/2023 11:18, Bo Berglund via fpc-pascal ha scritto:
> >
> >> If I have fpc 3.2.2 inbstalled on Windows 10 x64 I assume it is a 64
> bit target
> >> exe which will be the output, right?
> >If in Project Options -> Config and Target ->Target OS you specify
> >Win32, you'll get a 32 bit exe (which is what Delphi does, I presume, if
> >it links a 32 bit object).
>
> I changed target to Win32 then when I closed the dialog an error message
> popped
> up:
>
> The current FPC has no config file. It will probably miss
> some units. Check your installation of fpc.
> [OK] [Ignore]
>
> My installation was done using a full Lazarus/FPC installer from
> SourceForge:
> lazarus-2.2.4-fpc-3.2.2-win64.exe
>
> So both Lazarus and Fpc come from the same installer and it installs an
> isolated
> environment so one can have several versions installed at the same time.
>
> What to do now?
> And what is the problem?
>
You need to download the Win32 addon for Lazarus from the same location,
install that and then set operating system to Win32 and platform to i386.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230322/55a2ab87/attachment.htm>
More information about the fpc-pascal
mailing list