@englit: In that case, the instructions are different and for testing purpose only.
- download and install FreePascal 3.2.0 32 bit for windows
- make sure you download and extract the free pascal 3.2.0 sources as well
- create a <work> directory for testing purpose
- copy <your FPC source location>/packages/openssl/src/*.* to <work>
- copy <your fpc source location>/packages/openssl/examples/test1.pas to <work>
- copy your 32-bit ssl libraries/dll's to <work>
- open a commandline, and navigate over to <work> directory
- type "fpc -B test1.pas" (without quotes) and press enter.
- run test1 by typing "test1" (without quotes) and press enter.
- paste returned results back into this thread for review
C:\tmp>fpc -B test01
Free Pascal Compiler version 3.2.0 [2020/06/04] for i386
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling test01.pp
Compiling oraclew.pp
Compiling oci.pp
Compiling oratypes.pp
oratypes.pp(300,12) Warning: Function result does not seem to be set
nzerror.inc(535,75) Note: Values in enumeration types have to be ascending
oro_implementation.inc(121,12) Warning: Function result does not seem to be set
oro_implementation.inc(129,12) Warning: Function result does not seem to be set
oro_implementation.inc(137,12) Warning: Function result does not seem to be set
oro_implementation.inc(145,12) Warning: Function result does not seem to be set
oro_implementation.inc(153,12) Warning: Function result does not seem to be set
oro_implementation.inc(161,12) Warning: Function result does not seem to be set
oro_implementation.inc(169,12) Warning: Function result does not seem to be set
oro_implementation.inc(177,12) Warning: Function result does not seem to be set
oro_implementation.inc(185,12) Warning: Function result does not seem to be set
oro_implementation.inc(193,12) Warning: Function result does not seem to be set
oro_implementation.inc(201,12) Warning: Function result does not seem to be set
oro_implementation.inc(209,12) Warning: Function result does not seem to be set
oro_implementation.inc(217,12) Warning: Function result does not seem to be set
oro_implementation.inc(225,12) Warning: Function result does not seem to be set
oro_implementation.inc(233,12) Warning: Function result does not seem to be set
oro_implementation.inc(241,12) Warning: Function result does not seem to be set
oro_implementation.inc(249,12) Warning: Function result does not seem to be set
oro_implementation.inc(257,12) Warning: Function result does not seem to be set
oro_implementation.inc(265,12) Warning: Function result does not seem to be set
oro_implementation.inc(273,12) Warning: Function result does not seem to be set
oro_implementation.inc(281,12) Warning: Function result does not seem to be set
oro_implementation.inc(289,12) Warning: Function result does not seem to be set
oro_implementation.inc(297,12) Warning: Function result does not seem to be set
oro_implementation.inc(305,12) Warning: Function result does not seem to be set
oro_implementation.inc(313,12) Warning: Function result does not seem to be set
oro_implementation.inc(321,12) Warning: Function result does not seem to be set
oro_implementation.inc(329,12) Warning: Function result does not seem to be set
oro_implementation.inc(337,12) Warning: Function result does not seem to be set
oro_implementation.inc(345,12) Warning: Function result does not seem to be set
oro_implementation.inc(353,12) Warning: Function result does not seem to be set
oro_implementation.inc(361,12) Warning: Function result does not seem to be set
oro_implementation.inc(369,12) Warning: Function result does not seem to be set
oro_implementation.inc(377,12) Warning: Function result does not seem to be set
oro_implementation.inc(385,12) Warning: Function result does not seem to be set
oro_implementation.inc(393,12) Warning: Function result does not seem to be set
oro_implementation.inc(401,12) Warning: Function result does not seem to be set
oro_implementation.inc(409,12) Warning: Function result does not seem to be set
oro_implementation.inc(417,12) Warning: Function result does not seem to be set
oro_implementation.inc(425,12) Warning: Function result does not seem to be set
oro_implementation.inc(433,12) Warning: Function result does not seem to be set
oro_implementation.inc(441,12) Warning: Function result does not seem to be set
oro_implementation.inc(449,12) Warning: Function result does not seem to be set
oro_implementation.inc(457,12) Warning: Function result does not seem to be set
oro_implementation.inc(465,12) Warning: Function result does not seem to be set
oro_implementation.inc(473,12) Warning: Function result does not seem to be set
oro_implementation.inc(481,12) Warning: Function result does not seem to be set
oro_implementation.inc(489,12) Warning: Function result does not seem to be set
oro_implementation.inc(497,12) Warning: Function result does not seem to be set
oro_implementation.inc(505,12) Warning: Function result does not seem to be set
oro_implementation.inc(513,12) Warning: Function result does not seem to be set
oro_implementation.inc(521,12) Warning: Function result does not seem to be set
oro_implementation.inc(529,12) Warning: Function result does not seem to be set
oro_implementation.inc(537,12) Warning: Function result does not seem to be set
oro_implementation.inc(545,12) Warning: Function result does not seem to be set
oro_implementation.inc(553,12) Warning: Function result does not seem to be set
oro_implementation.inc(561,12) Warning: Function result does not seem to be set
oro_implementation.inc(569,12) Warning: Function result does not seem to be set
oro_implementation.inc(577,12) Warning: Function result does not seem to be set
oro_implementation.inc(585,12) Warning: Function result does not seem to be set
oro_implementation.inc(593,12) Warning: Function result does not seem to be set
oro_implementation.inc(601,12) Warning: Function result does not seem to be set
oro_implementation.inc(609,12) Warning: Function result does not seem to be set
oro_implementation.inc(629,30) Warning: range check error while evaluating constants (2 must be between 1 and 1)
oro_implementation.inc(635,30) Warning: range check error while evaluating constants (4 must be between 1 and 1)
oro_implementation.inc(641,32) Warning: range check error while evaluating constants (5 must be between 1 and 1)
Linking test01.exe
28055 lines compiled, 0.9 sec, 152048 bytes code, 6548 bytes data
66 warning(s) issued
1 note(s) issued
when I tried to run test01.exe, a dialog appeared and said "system error, can not find oci.dll, can not execute the program. reinstall may solve this problem."
there are files named as oci.inc, oci.pp, oci.ppu and oci.o. according to the timestamp, oci.ppu and oci.o are created while compiling. I don't know why it asked for a oci.dll.