Jump to content

DelphiUdIT

Members
  • Content Count

    431
  • Joined

  • Last visited

  • Days Won

    8

DelphiUdIT last won the day on January 5

DelphiUdIT had the most liked content!

Community Reputation

132 Excellent

1 Follower

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It's more complex than this ... The wrapper (tlb) (it's the "ASCOM Device Interfaces for Platform 6") expose only the interfaces, there is a "scopeSim" that expose similar interface and a full class. He must explorer all type libraries registered about that (or read the full documentation) and find the class that use that interface (or how to use if it's exposed in the documentation or in the examples like @Anders told). Bye
  2. DelphiUdIT

    TIdHTTPWebBrokerBridge: Require TLS

    In the article that I signal in the last post there are also some suggestions to use only one port ... like you need.
  3. DelphiUdIT

    TIdHTTPWebBrokerBridge: Require TLS

    For me is working, but I have the github version of Indy (I don't think this change something). I think that the "socket" is still trying to use TLS for connection, but I'm not sure about that and I don't know how to help you. Look this article of @Remy Lebeau to redirect the connection from "http" to "https": https://www.atozed.com/forums/thread-367-post-834.html#pid834
  4. DelphiUdIT

    TLS v1.3

    In the Embarcadero release, Indy packages, components and other stuffs may be differ from GitHub maintained release. For example IndyIPServer, IndyIPClient and others are not present in the GitHub version. EDIT: also the runtime version may be differ like 12.0 and 12.1 where in the 12.1 release the new WIN64X "platform" exists.
  5. DelphiUdIT

    TIdHTTPWebBrokerBridge: Require TLS

    (This is for TIdHTTPServer component, hope to be useful for you component). You must use the "TIdSSLIOHandlerSocketBase.PassThrough" property ... if you set it to FALSE then TLS is required, if you set to TRUE only clear connection (NO TLS) are managed. Do it in the "create connection" event: procedure TForm1.Server1Connect(AContext: TIdContext); begin If AContext.Connection.IOHandler is TIdSSLIOHandlerSocketBase then TIdSSLIOHandlerSocketBase(AContext.Connection.IOHandler).PassThrough := false; //If True the authentication is not managed (only in clear text) or is used for STARTTLS, if false it manages the TLS/SSL authentication end;
  6. DelphiUdIT

    TComboBoxEx icon in editbox?

    EDIT: This is for TComboBox, I never used TComboBoxEx and I don't know if that I suggest is working with that component. You can use OnDrawItem to draw what you want this is an example that draw a flag (form an array of pngimages), you have to see if you can also use this method for the Edit position: //FlagListPNG is a list of pngimages //NameLangLisTXT is a list of string (name of the languages) //You must adapt of course at your use procedure TLanguageSelect.ComboBox1DrawItem(Control: TWinControl; Index: Integer; Rect: TRect; State: TOwnerDrawState); begin try TComboBox(Control).Canvas.Draw(Rect.Left + 8, Rect.Top + (Rect.Height div 2 - FlagListPNG[Index].Height div 2), FlagListPNG[Index]); TComboBox(Control).Canvas.TextOut(Rect.Left + 8 + FlagListPNG[Index].Width + 8, Rect.Top, NameLangListTXT[Index]+' '); except TComboBox(Control).Canvas.TextOut(Rect.Left + 10, Rect.Top, NameLangListTXT[Index]); end; end;
  7. If you only want to know if two buffer or strings are identical, you can use CompareMem (from System-Sysutils) : https://docwiki.embarcadero.com/Libraries/Athens/en/System.SysUtils.CompareMem Of course the size of the two blocks should be the same (to be identical 😉 ) .
  8. DelphiUdIT

    Delphi 12.1 is available

    For me is working for Win32 e Win64 project.
  9. DelphiUdIT

    boost in C++ Builder 12.1 Modern Compiler

    I think that was one question about, on which the organizer responded.
  10. DelphiUdIT

    boost in C++ Builder 12.1 Modern Compiler

    Somewhere I read that boost libraries will be release soon ... but I don't remember were I read this. EDIT: Uhmm, may be in the last webinar ....
  11. DelphiUdIT

    ICS V9.1 announced

    Go there and download (in the "Download OpenSSL Binaries" section) the release that you need: https://wiki.overbyte.eu/wiki/index.php/ICS_Download
  12. DelphiUdIT

    NEW INDY REPO (CLONE) FOR ATHENS 12.1 UPDATES

    Some changes are refuses from Indy team, 'cause some of them (changes) are only for the next new release (11), like I write in the recent post. Other motivations surely there are. This repo exists only to help everyone that want to update the Indy version that came with IDE. That is still with legacy technologies (no Oauth2, no TLSv1_3), and the Indy official repo is not compatible with Embarcadero and some tirdh-party components (like those installed from getit that need Indy). If this is not the right way, I switch the repo in "private" ... no problems. You are right about Remy, I don't want any test from him, my request may be misunderstood.
  13. Hello ALL. I make a repository with a copy of original Indy repo with all changes to help updating Athens 12.1 Indy version and make it compatible with the IDE and third-party components. https://github.com/SiveaITA/Indy-Athens12.1 Please Remy give a look. UPDATE: seems that what I have done is not the right way, so the repository will be shutdown.
  14. DelphiUdIT

    Delphi 12.1 is available

    Look there, or you should wait...
  15. DelphiUdIT

    'Automated' install of Indy??

    In the batch "clean..." there was an error ... "ren" cmd is not working if the destination file name has a path. In the normal condition (without extension options) this is an error. So I change the cmd file, including the new directories for Athens12.1 in the zip file attached. Clean_IDE.zip
×