Indy 10, could not load OpenSSL library on Windows 11 - windows

I am building my VCL application on RAD Studio XE5 and I am using Indy 10 library (IndyCore190.bpl) with libeay32 and ssleay32 (1.0.2u) to connect to the server.
Application works on Windows 10 and is able to connect to the server using TLS1.2. Now I am trying same application on Windows 11 and Indy is giving me error as 'could not load ssl library'.
IdTCPClient->Connect();
Could you please suggest what configuration change required on Windows 11, so that my application can load ssl libraries.
Regards,
Nilesh

Try openssl-1.0.2u-i386-win32.zip form https://github.com/IndySockets/OpenSSL-Binaries. That fixed it for me. Copy the two dll files to the exe directory.

Related

Delphi Rio application doesn't start on Windows 2003 Server (Missing d2d1.dll)

Since the Delphi Rio 10.3.3 update (before: Delphi Seattle) my application has not been started on a Windows 2003 server.
Error message like: The application could not be started because d2d1.dll was not found. Reinstalling the application can fix the problem.
I have copied the file d2d1.dll from my PC to the Windows 2003 Server. The following error message appears: The application or DLL d2d1.dll is not a valid Windows file. Check this with the installation chain.
Then I tried to register the DLL via CMD as follows: regscr32 / i d2d1.dll
Error message: d2d1.dll is not an executable file and is not a registration tool that is registered for this file type.
Any ideas? (I know that Windows 2003 Server is very old and nasty but I need any solution)
EDIT: A simple Hello World Application works.

Unable to install VNC Server to Windows CE 6.0

Two computers being connected to a network. I need to run VNC Server on Windows CE 6.0, and Connect from VNC Viewer on Windows 7.
I used TightVNC for Windows 7 but I am unable to install TightVNC to Windows CE 6.0.
Please guide me from here. I tried different TightVNC installers from http://www.tightvnc.com/download-old.php but failed. As soon as I try to run installer, it says
"There is no application associated with tightvnc-2.8.5-gpl-setup-32bit. Run the application first, then open this file from within the application."
It was a .msi file, but I found a .exe installer also but when I ran it on WinCE, it says
"Application tightvnc-1.3.10-setup.exe encountered a serious error and must shut down"
Please help me here. Should I try any other VNC Server-client for WinCE and Win7?
Thank you!
You could try using EfonVNC. I see from the website that the version says v4.3 but when you download the EXE you will find it is v4.1.1.1. Deploy to your device and then start it automatically on device power-up or by code. Here is some example C# code to do just that:
ProcessStartInfo pinfoVNC = new ProcessStartInfo();
pinfoVNC.FileName = PATH-TO-VNC-ON-YOUR-DEVICE;
Process.Start(pinfoVNC);

System.data.sqlclient in windows phone SDK 7.8

I am trying to connect sql server 2008 from visual studio 2010 for a windows phone app (SDK 7.8).
But cannot add below written line on mypage.xaml.cs:
using System.Data.SqlClient;
and because of this I cannot open a sqlconnection.
I have tried adding reference but there was no system.data.dll or system.data.sqlclient.dll.
I have also installed microsoft sql server compact 4.0 but even after that I couldnot find System.Data.Sqlclient.dll.
Do someone know how to solve this problem/ have faced same problem.
Thanx in advance.
There is no SQL Server connector available for Windows Phone. As a workaround, I would suggest exposing the data through a webservice, and consuming this webservice from your mobile app.

Deploying Datasnap Service

Using C++ Builder under Rad Studio XE I have created a simple Datasnap server service from scratch. I wanted to test the service installation process before adding any functionality, and found that while it will install successfully on a range of Windows machines, I haven't been able to get it to Start under a clean installation of Windows 7 x64.
The error message trying to start the service is: Windows could not start the service on Local Computer. Error 2: The system cannot find the specified file.
I have turned off both dynamic linking and run-time libraries. It starts fine under Windows XP and 2003 operating systems, just not this single Win7 machine that I have. I have opened the firewall for the specified ports, and confirmed no other app is using them as well. The service was installed under Administrator, and logs on as Local System account.
Is there a problem with a C++ Builder compiled service under Windows 7, or maybe 64 bit? Hopefully someone can point me in the right direction so I don't have to bang my head against the wall too many more time.
Thanks!
Since C++ Builder creates 32bit applications only, make sure you install the service in the c:\Windows\SysWOW64 folder on 64bit Win7 systems. Windows 7 x64 expects to find only 64bit files/services in the system32 folder.

Windows 7 Credential Provider Sample

I'm trying to create a custom login for Windows 7 using Credential Provider. I use Windows 7 Professional, Windows SDK 7.0 and Visual Studio 2010 Ultimate. After i build the solution for SampleCredentialProvider from
the sample folder in SDK 7.0 my dll file is created, i copy the dll file into my Windows\System32 folder and i run the Register.reg but nothing is happening at login. According to the documentation in the login screen i should be able to see new users(Administrator and Guest). What have i done wrong? Is there a trick or something?
Thank you.
Are you on Windows 7 64-bit? If so, check to see whether you are building the Win32 version instead. Use the Build > Configuration Manager and make sure Active solution platform is x64, and the Active solution configuration is Release.
Windows SDK for Windows 7 have good Credential Provider samples

Resources