Jump to content

Attila Kovacs

Members
  • Content Count

    2017
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. 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?
  2. Attila Kovacs

    Delphi 11.1 + patches - No debug source / breakpoints?

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

    Regex help please..

    Yup.
  4. 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.
  5. 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....
  6. Attila Kovacs

    Regex help please..

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

    Regex help please..

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

    No one can help

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

    Create Form

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

    How to open a file in the already running IDE?

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

    How to open a file in the already running IDE?

    @aehimself great work, nice catch. would you make a QC report?
  16. 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. -
  17. 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);
  18. Attila Kovacs

    How to open a file in the already running IDE?

    PeekMessage "Dispatches incoming nonqueued messages, checks the thread message queue for a posted message, and retrieves the message (if any exist)." "During this call, the system dispatches (DispatchMessage) pending, nonqueued messages, that is, messages sent to windows owned by the calling thread using the SendMessage, SendMessageCallback, SendMessageTimeout, or SendNotifyMessage function. Then the first queued message that matches the specified filter is retrieved." ok, that means, it should be fine
  19. Attila Kovacs

    How to open a file in the already running IDE?

    first of all, PeekMessage is blocking, therefor the repeat until is not just superfluous but could be a problem, do you know where exactly the AV happens? sorry, that was getmessage, the blocking one. well, then I don't think I can comment on that
  20. Attila Kovacs

    No one can help

    Try to find some resources on "relational database" first. Instead of stuffing everything into a giant BLOB in one record, split them up in other tables in many rows and have a reference to the main document.
  21. I'm not sure on that. Look the code in Berlin, it's searching from the left and returning the first matching element. Edit: oh no, I see. Edit edit, well, no-oh no, can't see again. 😄 If the list is sorted I can't create a list where binsearch would not return the first element in the list. Berlin U2.
  22. Why did they change it in the first place?
  23. Attila Kovacs

    How to open a file in the already running IDE?

    you need one, a window handle too
  24. Attila Kovacs

    How to open a file in the already running IDE?

    Eventually I got rid of ackMode. I should really stop it now. 😄 uBdsLauncher2.pas
  25. Attila Kovacs

    How to open a file in the already running IDE?

    There is no such thing as a central DDE server or anything, the DDE lib sends a message to every enumerated main window a WM_DDE_INITIALIZE with Service and Topic and the application will either answer with a WM_DDE_ACK or not. That said, on 16349, or if the list is zero, you have to start bds.exe /np filename.pas. That is what's in the registry for bdsLauncher.
×