-
Content Count
1952 -
Joined
-
Last visited
-
Days Won
44
Fr0sT.Brutal last won the day on March 17
Fr0sT.Brutal had the most liked content!
Community Reputation
789 ExcellentTechnical Information
-
Delphi-Version
Delphi XE2
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Is this what you're looking for? https://blogs.embarcadero.com/learn-about-using-delphi-methods-as-python-functions-with-python4delphi-sample-app/
-
Sure var lambdas : string = 'λλλ'; python.someFunc(PChar(lambdas)); 🙂 Jokes aside - what you mean by lambdas? Inline functions?
-
Are you still hiring and where are you? 🙂
-
Beginner to Delphi. Have no idea what I'm doing wrong here
Fr0sT.Brutal replied to Willicious's topic in Delphi IDE and APIs
Ah, you're right. Nice, the compiler is a bit more clever than I thought -
Beginner to Delphi. Have no idea what I'm doing wrong here
Fr0sT.Brutal replied to Willicious's topic in Delphi IDE and APIs
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? 🙂 -
Copy bitmap from one app to another app bitmap
Fr0sT.Brutal replied to RTollison's topic in General Help
If that handle is WinAPI handle then yes, you can replace that loadbitmapfromfile with call to your DLL returning the handle -
Have you tried pressing Inspect button?
-
VCL or FMX: My sample using Thread running in another forms for some tasks...
Fr0sT.Brutal replied to programmerdelphi2k's topic in General Help
Some forums I lived at red color was only allowed for moderators. That was very good rule. -
Form.Position = poDesigned?
-
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?
-
Beginner to Delphi. Have no idea what I'm doing wrong here
Fr0sT.Brutal replied to Willicious's topic in Delphi IDE and APIs
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', 'æ'? -
Copy bitmap from one app to another app bitmap
Fr0sT.Brutal replied to RTollison's topic in General Help
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. -
EUnsupportedPlatformService with message 'Unsupported platform service: Terminate'
Fr0sT.Brutal replied to at3s's topic in FMX
Apple knows best -
Copy bitmap from one app to another app bitmap
Fr0sT.Brutal replied to RTollison's topic in General Help
I think Anders meant pointer to WinAPI bitmap handle -
Just launch the thread and let it work, catch the event when it's done.