Articles

help files

  

Creating & Implementing Help Files

Your end users should always have some type of software documentation to help them learn using you software. Also it helps you not to be stuck with hundreds of “faq” e-mails on a daily basis. Therefore, creating a simple help file (chm) is always an easy solution.

ADO

  

ADO (Database connection)

Database connectivity is very important, especially for business type of applications. In C++ Builder & Delphi it can be implemented in a various ways, but my favorite is using ADO (Microsoft ActiveX Database Objects) components.

multi-threading

  

Multi-threading

Multi-threading support can help you speed up your applications by make them doing several things at once (parallelly). It is a great way to improve application performance, especially in multi-core processor systems. Multi-threading is supported in C++ Builder and Delphi in many ways, but the most common implementation is by using TThread class.

threads critical section

  

Threads & Critical sections

Critical sections are very important code segments that must be secured in case when multiple threads access the shared resources (memory). There are many ways to implement critical sections and other locking mechanisms (like semaphors) in C++ Builder & Delphi. For this purpose we will see how to use CRITICAL_SECTION object.

  

Localization (multi-language support)

Adding multi-language support can make your application more accessible for many world regions. Localization is very easy to implement in C++ Builder and Delphi applications using Translation Manager and Resource DLL Wizard. It is so easy that you don’t even need to be a programmer to do it.

INI files

  

INI files & Windows Registry

To store your application settings you can use INI files and Windows registry. Both are pretty simple solutions and can be used separate or in combination. To enable I/O operations with INI files and Windows registry C++ Builder and Delphi use TIni and TRegistry objects.

DB lookup components

  

DB Lookup components

When working with DB components it is very useful to know how to use DB lookup components – TDBLookupComboBox nad TDBLookupListBox. They allow our users to view and choose data directly from a DB table (list). They are a bit more complexed components since they work with multiple DB tables and fields but are mostly useful in many situations.

indy http   

Indy components – HTTP client

Indy (Internet Direct) components are used for network client-server communication in Delphi & C++ Builder applications. In this tutorial we are going to see how to use TIdHTTP client component to download a file from the internet, hot to limit download speed etc…

indy tcp chat   

Indy components – TCP client-server (chat)

Indy (Internet Direct) components are used for network client-server communication in Delphi & C++ Builder applications. In this tutorial we are going to see how to use TIdTCPClient and TIdTCPServer components to create a chat applications.

indy udp chat   

Indy components – UDP client-server (chat)

Indy (Internet Direct) components are used for network client-server communication in Delphi & C++ Builder applications. In this tutorial we are going to see how to use TIdUDPClient and TIdUDPServer components to create a chat applications.