Jump to content

Attila Kovacs

Members
  • Content Count

    1930
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Attila Kovacs

  1. Attila Kovacs

    OAuth2 bearer token example?

    OAuth2 is the authentication protocol. How the credentials are exchanged is up to the service provider. There are some common ways like pass it in the URL (RESTDebugger) or pass it in the headers, pass it in a JSON Object etc... The service provider will give you the documentation and examples.
  2. Attila Kovacs

    OAuth2 bearer token example?

    The authentication can be implemented in severeal ways. I would sniff the traffic and see the difference oooooor read the manual. Usually there are some "postman" (Application) examples.
  3. Attila Kovacs

    [Problem] Convert DB from unidac sqlite to FD sqlite

    is updating UniDAC subscription and letting FD joke for the kids an option?
  4. Attila Kovacs

    Serving html page containing images

    Make sure you are not exposing more that you want. Make a root directory where your server not going below that dir. One could request with /../ .... files you don't want to expose.
  5. Attila Kovacs

    Securing RAD Server

  6. Attila Kovacs

    Serving html page containing images

    Ahh I see now! This is great. You can decorate the handler method in mars and that's it?
  7. Attila Kovacs

    Serving html page containing images

    of course, tons of https://www.w3schools.com/html/html_tables.asp https://www.w3schools.com/html/html_images.asp No, you have to serve the requested file. https://www.rfc-editor.org/rfc/rfc2616 9.3 GET Indy should have already implemented that for you.
  8. you sound like the chatGPT from the 80's
  9. @Stano is this you or the ChatGPT malware is writing?
  10. Attila Kovacs

    AE BDSLauncher

    I'm not sure a combobox is the right decision here as it will slow down the process. I'd stick with a listbox or grid or similar with RETURN key and a button for the rookies.
  11. Attila Kovacs

    AE BDSLauncher

    I think you can remove POSTED_DDE_ACK
  12. Attila Kovacs

    AE BDSLauncher

    Yes, if the file is missing then there is the dproj or a selection splash screen, but I would priorate a config file.
  13. Attila Kovacs

    AE BDSLauncher

    Or you could save an extra file in the project dir like .idever
  14. Attila Kovacs

    Delphi & WM_DDE_INITIATE

    di^.ServiceAtom := 0; // GlobalAddAtom(PChar('DELPHI32')); di^.TopicAtom := 0; // GlobalAddAtom(PChar('DELPHI32')); it won't answer on 0/0, just on 'system'/'bds' does D7 support DDE anyway?
  15. Attila Kovacs

    moving a class implementation from desktop to server

    It's the same if you let's say, would split out the very same functionality into a console app. It will cost you a lot of refactoring. A lot. But with time, you will get the idea, how to arrange your units and classes for the future. I don't know what I have learned, maybe not to be afraid creating units. A lot of units.
  16. Attila Kovacs

    moving a class implementation from desktop to server

    Yes. HTTP. https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
  17. Attila Kovacs

    moving a class implementation from desktop to server

    Of course. Every new feature, mostly in console apps if it's possible. The result can be tested and easily moved to a lib or other projects.
  18. Attila Kovacs

    Check if database table string field is empty or NULL??

    what the actual f VAR(n) is?
  19. Attila Kovacs

    Check if database table string field is empty or NULL??

    if it's a string field then you can check against empty string => .AsString = '' , both, empty string and NULL will be true (side note: you can set a field to NULL with ".Clear", if it's a nullable field)
  20. Attila Kovacs

    How to open a file in the already running IDE?

    I don't think so. The opposite. My version is more efficient as it only talks to BDE instances. I don't care DDE, neither other apps, it's just for BDE.
  21. Attila Kovacs

    Open AI Chat

    Actually the way how AI will kill mankind is not like in terminator or co., but a copy pasted AI code into some nuclear reactor code or similar 😛
  22. Attila Kovacs

    Delphi 11.1 + patches - No debug source / breakpoints?

    I tried to look up this for you and as I changed the remote debugging settings it screwed up my custom Version info what I'm using for building the database connection so I had to restore the dproj from a backup as I could not get it work again. You are on your own now.
×