Jump to content

Attila Kovacs

Members
  • Content Count

    1936
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Attila Kovacs

  1. Attila Kovacs

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

    what the actual f VAR(n) is?
  2. 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)
  3. 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.
  4. 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 😛
  5. 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.
  6. Attila Kovacs

    Delphi 11.1 + patches - No debug source / breakpoints?

    Last one, did you restart your PC after installing the IDE? 🙂
  7. 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?
  8. Attila Kovacs

    Delphi 11.1 + patches - No debug source / breakpoints?

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

    Regex help please..

    Yup.
  10. 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.
  11. 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....
  12. Attila Kovacs

    Regex help please..

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

    Regex help please..

    \p{L}+([-+.']\p{L}+)*@\p{L}+([-.]\p{L}+)*\.\p{L}+([-.]\p{L}+)*$ the devanagari fails
  14. 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++.
  15. 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.
  16. Attila Kovacs

    No one can help

    I don't believe you a word. You can't even debug. You are just trolling us.
  17. 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.
  18. Attila Kovacs

    Include External Text Files in Output Folder

    Just for curiosity, why don't you just copy the 4 files into the output folder manually and move on?
  19. Attila Kovacs

    Create Form

    CardForm := TCardForm.Create(Self)
  20. Attila Kovacs

    How to open a file in the already running IDE?

    great! you can remove that comment in the middle 🙂
  21. Attila Kovacs

    How to open a file in the already running IDE?

    @aehimself great work, nice catch. would you make a QC report?
  22. Attila Kovacs

    How to open a file in the already running IDE?

    hehe, suddenly, the results of "UnpackDDElParam" make sense 😉 so looks like it can be done without it and without FreeDDElParam and without the reimport edit: almost The lParam parameter of the posted DDE message that was received. The application must free the memory object specified by the lParam parameter by calling the FreeDDElParam function. -
  23. Attila Kovacs

    How to open a file in the already running IDE?

    pLo, pHi: UIntPtr; .. if UnpackDDElParam(AMsg.msg, AMsg.lParam, @pLo, @pHi) then .. GlobalUnlock(pHi); GlobalFree(pHi);
×