Jump to content

Attila Kovacs

Members
  • Content Count

    1967
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    AE BDSLauncher

    Or you could save an extra file in the project dir like .idever
  2. 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?
  3. 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.
  4. Attila Kovacs

    moving a class implementation from desktop to server

    Yes. HTTP. https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
  5. 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.
  6. Attila Kovacs

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

    what the actual f VAR(n) is?
  7. 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)
  8. 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.
  9. 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 😛
  10. 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.
  11. Attila Kovacs

    Delphi 11.1 + patches - No debug source / breakpoints?

    Last one, did you restart your PC after installing the IDE? 🙂
  12. Attila Kovacs

    Delphi 11.1 + patches - No debug source / breakpoints?

    ok, well, I'd try clean/build or remove the .dproj and reconfigure the project.. is this the only one IDE installed on that machine?
  13. Attila Kovacs

    Delphi 11.1 + patches - No debug source / breakpoints?

    and they are debug dcu's? (Use debug .dcus)
  14. Attila Kovacs

    Regex help please..

    Yup.
  15. Attila Kovacs

    Regex help please..

    I have it for two reasons, first, ppls. manual input is messy, second, if they copy-paste from websites it can be a strange thing in the edit field and they don't look.
  16. Attila Kovacs

    Regex help please..

    It's a very-very bad suggestion. You should read an article how not to get into a spam db. First, you have to avoid sending emails to malformed email addresses. Nope. Also, there is a difference between private/non ~ emails, first / second+ contact, etc....
  17. Attila Kovacs

    Regex help please..

    there is a PCRE regex in newer Delphi releases, yes, at some degree it will work
  18. Attila Kovacs

    Regex help please..

    \p{L}+([-+.']\p{L}+)*@\p{L}+([-.]\p{L}+)*\.\p{L}+([-.]\p{L}+)*$ the devanagari fails
  19. Attila Kovacs

    How to open a file in the already running IDE?

    I can't imagine what would take so long to load, opened datasets on the forms? Anyway, I can't reproduce, it opens everything just fine. The messages are the very same at the end of the day, you can log it yourself with spy++.
  20. Attila Kovacs

    How to open a file in the already running IDE?

    Nah, at the end user32.dll also using the windows messages so I'm pretty happy using as little dde@user32 as possible. But thx anyway, maybe others finding it useful.
  21. Attila Kovacs

    No one can help

    I don't believe you a word. You can't even debug. You are just trolling us.
  22. Attila Kovacs

    Centered message?

    Well, not much left, either hook it runtime or put your own Dialogs.pas / Vcl.Dialogs.pas into the project dir. Don't forget to implement the needed methods first.
×