opensslsockets Questions lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- JLWest · 2019-11-10 17:06 I have a unit that has the following use clause. when I try to compile I get the following error: Compile Project, Target: ReverseGeoCodeDemo.exe: Exit code 1, Errors: 1 unit1.pas(8,44) Fatal: Cannot find opensslsockets used by Unit1 of the Project Inspector. What am I missing. FPC is 3.04 Do I need to upgrade the compiler? uses   SysUtils, Forms, StdCtrls, fphttpclient, opensslsockets; ---------------------------------------------------------------------- Thaddy · 2019-11-10 17:10 Yes: opensslsockets is introduced in 3.2.0. It has some dependencies so in this case I would upgrade, since 3.2.0 is stable. Here it is not a matter of just copying the newer units. (3.2.0 is more like 4.0.0!, but anyway 3.3.1. has still more to come) ---------------------------------------------------------------------- JLWest · 2019-11-10 18:18 Quote from: Thaddy on November 10, 2019, 06:10:13 pmYes: opensslsockets is introduced in 3.2.0. It has some dependencies so in this case I would upgrade, since 3.2.0 is stable. Here it is not a matter of just copying the newer units. (3.2.0 is more like 4.0.0!, but anyway 3.3.1. has still more to come) Sorry Thaddy but I'm confused here. this is what I found on SourceForge. It says win64.exe  but I'm 32bit. Is this what I should be installing? lazarus-2.0.6-62131-fpc-3.2.0-beta-43271-win64.exe ---------------------------------------------------------------------- rca · 2019-11-10 18:45 Quote Sorry Thaddy but I'm confused here. this is what I found on SourceForge. It says win64.exe  but I'm 32bit. Is this what I should be installing? lazarus-2.0.6-62131-fpc-3.2.0-beta-43271-win64.exe That installer you found in the snapshot section is for 64-bit windows. If you want to try the snapshot for 32-bit windows: https://sourceforge.net/projects/lazarus- snapshots/files/Window%2032/lazarus-2.0.6-62131-fpc-3.2.0-beta-43271/ ---------------------------------------------------------------------- JLWest · 2019-11-10 18:54 Quote from: rca on November 10, 2019, 07:45:34 pmQuote Sorry Thaddy but I'm confused here. this is what I found on SourceForge. It says win64.exe  but I'm 32bit. Is this what I should be installing? lazarus-2.0.6-62131-fpc-3.2.0-beta-43271-win64.exe Ok - Now I have "lazarus-2.0.6-62131-fpc-3.2.0-beta-43271-win32.exe" Is this the full install 3.2.0 or can you tell from this. Hate to be this imposing but don't want to screw up my environment. That installer you found in the snapshot section is for 64-bit windows. If you want to try the snapshot for 32-bit windows: https://sourceforge.net/projects/lazarus- snapshots/files/Window%2032/lazarus-2.0.6-62131-fpc-3.2.0-beta-43271/ ---------------------------------------------------------------------- Thaddy · 2019-11-10 19:47 This is an aside, I already answered the question but: For this release there should be a 32 bit windows one. For any future releases probably not pre-built, since Microsoft will drop 32 bit support. Soon. But not as soon as Apple, which already has been the case. FreePascal will have an option to build for some 32 bit Windows versions as long as there is a couple of people that want to maintain it. Ask Bart about Win95...no takers, no maintenance. In such cases you can always use an older version. In the case of proper ssl handling, those OS's and old FPC do not even know what hacks they caused, so never use them... They will also never be upgraded. Internet security is a serious matter, do not pretend you can write serious software without current OS's , compilers and libraries.   Half the forum makes those mistakes, though (why ssl2 (and ssl3 and tls1.0)  does not work, etc E.g. modern browsers demand TLS1.2 as a minimum with a reluctant fall- back to 1.1, but that is the borderline, Don't look at working code, look at what is demanded. ---------------------------------------------------------------------- marcov · 2019-11-11 09:17 Quote from: Thaddy on November 10, 2019, 08:47:01 pmThis is an aside, I already answered the question but: For this release there should be a 32 bit windows one. For any future releases probably not pre-built, since Microsoft will drop 32 bit support. Soon. 32-bit Windows versions. 32-bit api support, not so quickly. Yes they will start discouraging it, but it is probably a decade or longer. QuoteBut not as soon as Apple, which already has been the case. FreePascal will have an option to build for some 32 bit Windows versions as long as there is a couple of people that want to maintain it. Ask Bart about Win95...no takers, no maintenance. Currently there is not even an official FPC win64 release. And win95 was a special case since it was really different from winnt. But yes, investing in 64-bit testing now and then won't hurt, if only to not have to do it hurried all at once. But there is still time In such cases you can always use an older version. In the case of proper ssl handling, those OS's and old FPC do not even know what hacks they caused, so never use them... They will also never be upgraded. Internet security is a serious matter, do not pretend you can write serious software without current OS's , compilers and libraries.   Half the forum makes those mistakes, though (why ssl2 (and ssl3 and tls1.0)  does not work, etc E.g. modern browsers demand TLS1.2 as a minimum with a reluctant fall- back to 1.1, but that is the borderline, Don't look at working code, look at what is demanded. [/quote]