Category: Delphi General
-
How do I make screen saver applicaion in Delphi
How do I make screen saver applicaion in Delphi To create a screen saver application in Delphi, you can use the TScreenSaver component from the Delphi component library. This component allows you to create a screen saver that can be installed and configured on the user’s computer, just like any other screen saver. Here is…
-
How do I change object size in runtime in Delphi
To change the size of an object in Delphi at runtime, you can use the Width and Height properties of the object. For example, to change the size of a TButton object named Button1, you can use the following code: Button1.Width := 100; // Set the width to 100 pixels Button1.Height := 50; // Set…
-
How do I make updater applicaion in Delphi
How do I make updater applicaion in Delphi To create an updater application in Delphi, you can use the TWebUpdate component from the Delphi component library. This component provides an easy way to check for and install updates for your Delphi application, by connecting to a web server and downloading the latest version of your…
-
How do I make chat applicaion in Delphi
How do I make chat applicaion in Delphi? To create a chat application in Delphi, you can use the TClientSocket and TServerSocket components from the Delphi VCL library. These components provide an easy way to implement a simple client-server communication model, where the client connects to the server and sends messages, and the server broadcasts…
-
How do I reveice push notification in Delphi
To receive push notifications in Delphi, you can use the Firebase Cloud Messaging (FCM) service. FCM is a cross-platform messaging solution that allows you to send and receive notifications on your mobile devices, as well as send messages to other devices that are running your app. Here is an example of how you can use…
-
How do I use REGEX in Delphi
To use regular expressions in Delphi, you can use the TRegEx class from the System.RegularExpressions unit. This class provides methods and properties for working with regular expressions, such as Match() and Replace() for matching and replacing strings, and Captures() and Groups() for accessing matched groups. Here is an example of how you might use the…
-
How do I inject a dll in Delphi
To create a DLL injection in Delphi, you can use the LoadLibrary() and GetProcAddress() functions to load the DLL and obtain the address of the function you want to call, respectively. Here is an example of how you might do this: uses Windows; var H: THandle; Proc: procedure; begin // Load the DLL and obtain…
-
How do I hook API in Delphi
To create an API hook in Delphi, you can use the HookAPI() function from the JclHookExcept unit, which is part of the JEDI Code Library (JCL). Here is an example of how you might use this function: uses JclHookExcept; function MyHookProc(ExceptionInfo: PExceptionRecord): Boolean; begin // This is where you can add your own code to…
-
Isometric map in Delphi FMX
To create an isometric map in Delphi FMX, you will need to use the appropriate graphical techniques and APIs provided by the framework. This will involve transforming and rendering the map’s elements in an isometric projection, and handling user input and interaction with the map. Here is an example of how you might approach creating…
-
How can I learn Delphi
Delphi is a programming language and integrated development environment (IDE) for building native Windows, macOS, Linux, iOS, and Android applications. To learn Delphi, you can start by downloading and installing the Delphi IDE on your computer. From there, you can take advantage of the built-in documentation and tutorials to learn the basics of the Delphi…