I currently have 3 TIWListBox objects which I am trying to sync together. When I scroll down/up in one I want them all to scroll but I haven't had any luck finding a solution.
I recently make a web application with Intraweb and deploy it as a Windows Service on a server.
Now I want to install SSL to have a HTTPS access.
I look at this project : https://github.com/Atozed/IntraWeb/tree/...ndAloneSSL to see how it works but
the secured link didn't work. (Chrome : This page of the site ... was not found /This site is inaccessible Exception message : Secure mode is required for this form).
I add libeay32.dll and ssleay32.dll on the project folder and I use their .pem files to test their application.
I test on 127.0.0.1 and I install it as a windows service to test with IP of my server too.
I'm on Delphi 10.2 and Intraweb 15.0.15.
i try to test Http.sys application sample "HttpSysDemo" with Intraweb 15.0.17
in DPR file :
TIWStartHSys.Execute(False);
then i deploy then HttpSysDemo1.exe as service with cmd run as administrator :
sc create HSysApp1 binPath="C:\PROJETS\\Intraweb\Samples\15\Delphi\HttpSysDemo\App1\Win32\Debug\HttpSysDemo1.exe"
When i try to start the service in the previous cmd windows with :
net start HSysApp1
the result is :
Le service HSysApp1 démarre........ (i.e. HSysApp1 service starts......)
Le service HSysApp1 n’a pas pu être lancé. (i.e. HSysApp1 service cannot be started)
why ? i don't find any detail about this failure.
Any idea please ?
Hi,
I'm migraring on of our vcl apps to intraweb and run to exception "No mapping for the Unicode character exists in the target multi-byte code page".
I understand that it something to with encoding, but how I do encode data when it comes directly from dataset trough datasource?
I'm using Delphi 10.3.1 and IW 15.0.21. At form I have tiwdbedits, tiwdbgrids
Characters are special characters like ä and ö (iso-8859-15)
Hi there! Hope whoever reads this is having a great day!
I've got an Intraweb app that serves up a REST interface. I've also got a Delphi desktop app that consumes the Intraweb apps' REST interface using Indy. I've had it all working both locally and installed as an ISAPI for a while now. ...Until I directed IIS to force all requests to https. The Intraweb app works fine under https. But the desktop app started complaining EIdOSSLCouldNotLoadSSLLibrary. Interestingly, another desktop app (in c#) needed no modifications and has continued to run fine, now accessing the https REST URL.
So far I haven't done *anything* to the desktop app. I haven't added any DLLs to its path, I haven't changed any code to have it use https, nothing. So here are my questions:
1. Assuming a working non-ssl desktop app, what changes need to be made to support SSL?
2. My desktop app, used for data entry, is currently just a single .exe. I'd love to keep it that way. Is there any way to bundle the functionality needed into the .exe? I'm not beyond adding the dlls as a resource and extracting them before dynamically loading them. Otherwise, I'll need to create an installer.
3. In searching on the web, I see other programmers writing SSL specific Indy code when connecting to https. Is this necessary? From my limited experience, Indy seems to be identifying that it wants to do SSL, but looking for those dll's most likely.
4. Any suggestions? (that's carte blanche to criticize my strategy if you feel so inclined)
Thanks,
Pete
Code:
function TpdHTTPClient.Post( aName : string;
aServiceURL : string;
aParams : TStringList ) : string;
var lHttp :TIDHttp;
lRequestStream, lResponseStream : TStringStream;
begin
lHttp := TIDHttp.Create(nil);
try
ConfigureHttp( lHttp );
result := lHttp.Post( aServiceURL, aParams );
finally
lHttp.Destroy;
end;
end;
Okay, as my daughter would say - "my bad". Sorry about that.
I could have at least tested the .dll's. I added the dll's to the .exe directory and everything works fine.
So the question is more simple - how to pack into .exe, and any other suggestions?
I'm calling openssl from Delphi (10.3.1) using the indy libraries. This works perfectly when using a 32 bit application. However when the application is compiled to 64 bits, I get an access violation on this line: rc := EVP_PKEY_set1_RSA(@key, FRSA);