-
Content Count
1167 -
Joined
-
Last visited
-
Days Won
16
Everything posted by FPiette
-
Hello, I would suggest to download the latest ICS snapshot, it contains changes related to C++ Builder support although I'm not sure the changes have been propagated from latest C++ Builder version projects to the old one you still use. Another suggestion is that you recreate yourself the ICS package adapted for you C++ Builder version. ICS are standard component and do not make use of any special feature. If you know well C++ Builder, then you should be able to create the new package project (Maybe containing only the components you are interested in). A third suggestion is to repost your message using a suitable subject to catch attention of C++ Builder user that are reading this forum. Something like "Error installing ICS with C++ Builder XE3" François
-
Round robin DNS look-ups
FPiette replied to Angus Robertson's topic in ICS - Internet Component Suite
I think if would be interesting to have the component doing those attempts internally. I would add a new event handler that is called when an IP address has failed. 3 arguments: IP address, an abort flag (passed by reference) and a context. If the event handler is not assigned, then the component does nothing to try the next available IP. The event is also called when success, before OnSessionConnected, with the correct IP address. The context argument let your code know if it is a failed IP address or the successful IP address. François -
Usually, this kind of corruption comes from calling the message pump from TWSocket.OnDataAvailable event handler. The call can be indirect, that is message pump called inside a function which is called from OnDataAvailable event handler. Many component incorrectly call the message pump, so be careful when using such component. The solution is usually found in using a custom message posted to trigger the processing with the data.
-
Registration postcard - what's the address to send to?
FPiette replied to nSolvePaul's topic in ICS - Internet Component Suite
You can find my street address in the comments in front of each ICS source file. -
TSslHttpServer in console application
FPiette replied to aehimself's topic in ICS - Internet Component Suite
As far as I understand the code you show, you thread's Execute method doesn't have the message pump. So no event is triggered and nothing works. Another error in your code is that you create the HTTP component within the thread's Create method, which is executed in the context of the main thread! You must create the component in the context of the thread, that is at the beginning of the Execute method. Alternatively, you may call the ThreadAttach method to attaché the component created in another context to the thread's context. First solution is better. Also destruction must be done at the end of the Execute procedure. There are several multithreaded samples delivered with ICS. You can follow client or server sample, as far as multithreading is concerned, it makes no difference. Regards. -
ICS - THttpCli with authentication Kerberos
FPiette replied to PZim's topic in ICS - Internet Component Suite
This is the reference document describing the HTPP authentication using Kerberos : https://tools.ietf.org/html/rfc4559 This document https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/understanding-http-authentication will help understand how it works. Everything could probably be implemented in HTTP client component. François Piette -
This version crashes with Delphi 10.3.1 Version 26.0.33219.4899. See attached file. Mail sent to support@mmx-delphi.de Regards, François Piette Embarcadero MVP www.overbyte.be MMX Code Explorer 14.1 Crash with Rio 10.3.1 Version 26.0.33219.4899.txt
-
Hello, An interesting feature (IMO): add a popup menu item to the source indexer to show a file in a Windows Explorer window (Much like you have in Delphi project manager). Regards,
-
Hello, I'm an absolute fan of MMX :: Source Indexer. It is incredibly fast (Well, when scanning is done) and helpful. I'll be more than happy to have MMX :: Source Indexer window remember his position and size each time it is reopened. it is a real pain to have it always opened in the top left corner of the screen with his default position and size. Another important feature I'd like to have: In the search indexer, we have "exclude paths". That's nice but I would like to have "exclude files and paths" and be able to enter a list of wild card file/folder names. For example "*old.*" to suppress scanning of anything ending with "old" in the filename such as "blablaold.pas". Or "*old" to suppress any directory ending by "old" and any file ending by "old" such as "blabla.pas.old" but not "balablaold.pas". Another small feature: when you have auto-scan turned on, the first time you click on the search identifier tool button, the scanning begins. Then when it is done, the identifier you had selected is not searched. You have to click once more. Less important than windows position and size, but interesting for a lazy guy like me. Regards. François Piette Embarcadero MVP
-
I'm using Delphi since version 1, every single day of the year. And there are still tricks that I don't know! Thanks.
-
There is probably a way to do that since other IDE windows have a popup menu with a dockable item you can check/uncheck. When an IDE form is dockable, it can be tricky to move it exactly where you want to put it. François Piette Embarcadero MVP
-
I was not aware of that. Indeed it works as expected. Thank for the tip! How to make the window not dockable? Thanks. François Piette Embarcadero MVP