On Wed, 22 Mar 2023 11:18:10 +0100, Bo Berglund via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

>
>I guess I have to just create a simple program which reads the key data and 
>does
>nothing else to check if the handling will actually work...
>Or convert a small tool we already have from Delphi7 to Lazarus/FPC and see 
>what
>happens..

Now I created a new program and set it to mode Delphi.
The syntac check Run/Quick_Compile works OK but then when I use the Run/Compile
function this is what I get:

Compile Project, Target: DongleTest.exe: Exit code 1, Errors: 1
DongleTest.lpr(24,1) Error: Illegal COFF Magic while reading
D:\Engineering\Projects\Subversion\PC\DongleTest\SPROMEPS.OBJ

Sigh...
I guess it is a problem regarding 32 vs 64 bit application code here...

Is there a settinmg in FPC which will make it produce a 32bit Windows exe?

Or do I have to install a complete set of 32 bit Lazarus/FPC on my 64 bit
Windows 10?
Or even worse: do I have to create a virtual Windows 10 32 bit computer to do
the build on? It might not work there too.


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to