Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Fr0sT.Brutal last won the day on March 17

Fr0sT.Brutal had the most liked content!

Community Reputation

789 Excellent


Technical Information

  • Delphi-Version
    Delphi XE2

Recent Profile Visitors

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

  1. Fr0sT.Brutal


    Is this what you're looking for? https://blogs.embarcadero.com/learn-about-using-delphi-methods-as-python-functions-with-python4delphi-sample-app/
  2. Fr0sT.Brutal


    Sure var lambdas : string = 'λλλ'; python.someFunc(PChar(lambdas)); 🙂 Jokes aside - what you mean by lambdas? Inline functions?
  3. Fr0sT.Brutal

    Anyone know why?

    Are you still hiring and where are you? 🙂
  4. Ah, you're right. Nice, the compiler is a bit more clever than I thought
  5. No, this was a non-DB-related question, just curiosity. While there is IsLetter function, it checks for all letters in Unicode table so I wondered which constructions are popular for the purpose. Yes, that's possible. CharInSet won't check whether a char is ASCII or not and codepage-dependent cases are possible that won't produce neither compile-time messages nor run-time errors. Alas, I can't imagine how they could force the check. Runtime exception in such a basic function doesn't look good Sounds nice, create request to QC? 🙂
  6. Fr0sT.Brutal

    Copy bitmap from one app to another app bitmap

    If that handle is WinAPI handle then yes, you can replace that loadbitmapfromfile with call to your DLL returning the handle
  7. Fr0sT.Brutal

    Database strucure elements (properties?)

    Have you tried pressing Inspect button?
  8. Some forums I lived at red color was only allowed for moderators. That was very good rule.
  9. Fr0sT.Brutal

    Background Compilation

    Form.Position = poDesigned?
  10. Fr0sT.Brutal


    I'd too expect it to be instance method. No string in Delphi could be null in fact so there's no sense in static class method. Probably they simple copypasted it from .Net which has nulls and thus such function couldn't be an instance method?
  11. They couldn't. Set is limited to 255 elements, so CharInSet only works for Ansi sets (I'm sure you know that 😄 ) Btw, I wonder how do you check whether a char is a letter of a some language (f.ex. Norwegian, German)? They have not only latin chars but some additional which can't be declared with simple 'a'..'z'. You have to add them explicitly, like 'a'..'z', 'æ'?
  12. Fr0sT.Brutal

    Copy bitmap from one app to another app bitmap

    If you have no control over cobol app and it only reads from file, there's little you can do except hooking CreateFile & FileWrite WinAPI's. Or even use filesystem driver to represent a piece of RAM as a drive but that unlikely is an option. In theory, if you're lucky and the app uses only CreateFile without additional file-specific checks, you can feed it with path to a pipe which you will create and control.
  13. Fr0sT.Brutal

    Copy bitmap from one app to another app bitmap

    I think Anders meant pointer to WinAPI bitmap handle
  14. Fr0sT.Brutal

    Not Threadsafe??

    Just launch the thread and let it work, catch the event when it's done.