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);
I tried "dropdown", "dropdown-menu" and doesn't work. Do I have to build the Combobox in code with "OnUnknownTag" to make it look good or there is a simpler way?
Hi there. I received a report of someone on the new Galaxy10 cell phone that is getting an error that the IP address is changing and they cannot establish a connection. I had this once with an iPhone too.
My whole application is in SSL and the error message is "The IP you are using is different than the one that initiated the session. Security check failed. Please restart application."
Is there a way to loosen the security of the web application to allow the IP address to dynamically change? I read on-line that the new Galaxy 10 has networking issues so this is probably a flawed product but I wanted to ask the technical question if we can do anything to compensate for this problem.