Programming

Programming

Tags:C BuilderWeb Server ApplicationsCreating Web server applications

Web server applications are applications that run on servers that deliver Web content such as HTML Web pages or XML documents over the Internet. Examples of Web server applications include those which control access to a Web site, generate purchase orders, or respond to information requests.
You can create several different types of Web server applications using the following C++Builder technologies: Web Broker...

Programming - C++Builder

Tags:BdeC BuilderDelphiWriting database applications

One of C++Builder's strengths is its support for creating advanced database applications. C++Builder supports tools that allow you to connect to SQL servers and databases such as Oracle, Sybase, InterBase, MySQL, MS-SQL, Informix, and DB2 while providing transparent data sharing between applications.
C++Builder includes many components for accessing databases and representing the information they contain. On the Component palette, the...

Programming - C++Builder

Tags:C BuilderComponentsCreate DllsDllsPackagesCreating DLLs containing VCL and CLX components

One of the strengths of DLLs is that a DLL created with one development tool can often be used by application written using a different development tool. When your DLL contains VCL or CLX components (such as forms) that are to be used by the calling application, you need to provide exported interface routines that use standard calling conventions, avoid C++ name mangling, and do not require the...

Programming - C++Builder

Tags:C BuilderCreate DllsCreating DLLs in C++Builder is the same as in standard C++:

1. Choose File|New|Other to display the New Items dialog box.
2. Double-click the DLL Wizard icon.
3. Choose the Source type (C or C++) for the main module.
4. If you want the DLL entry point to be DllMain, MSVC++ style, check the VC++ style option, otherwise, DllEntryPoint is used for the entry point.
5. Click Use VCL or Use CLX to create a DLL containing VCL or CLX components, this option is only...

Programming - C++Builder

Tags:C BuilderDllsHow To UsePackages

When to use packages and DLLs?

For most applications written in C++Builder, packages provide greater flexibility and are easier to create than DLLs. However, there are several situations where DLLs would be better suited to your projects than packages: Your code module will be called from non-C++Builder applications. You are extending the functionality of a Web server. You are creating a code module to be used by third-party developers. Your...

Programming - C++Builder

Tags:C BuilderDelphiDllsPackages

Dynamic link libraries (DLLs) are modules of compiled code that work in conjunction with an executable to provide functionality to an application. You can create DLLs in cross-platform programs. However, on Linux, DLLs (and packages) recompile as shared objects.
Packages are special DLLs used by C++Builder applications, the IDE, or both. There are two kinds of packages: runtime packages and design-time packages. Runtime packages provide functionality to a...

Programming - C++Builder

Tags:C BuilderDelphi

Service name properties

The VCL provides classes for creating service applications on the Windows platform (not available for cross-platform applications). These include TService and TDependency. When using these classes, the various name properties can be confusing. This section describes the differences.
Services have user names (called Service start names) that are associated with passwords, display names for display in manager and editor windows, and actual names (the...

Programming - C++Builder

Tags:C BuilderExamplesTthread

Each service has its own thread (TServiceThread), so if your service application implements more than one service you must ensure that the implementation of your services is thread-safe. TServiceThread is designed so that you can implement the service in the TService OnExecute event handler. The service thread has its own Execute method which contains a loop that calls the service's OnStart and OnExecute handlers before processing new requests.

Because service...

Programming - C++Builder

Tags:C Builder

Service applications take requests from client applications, process those requests, and return information to the client applications. They typically run in the background, without much user input. A Web, FTP, or e-mail server is an example of a service application.
To create an application that implements a Win32 service:

1. Choose File|New|Other, and double-click Service Application in the New Items dialog box. This adds a global variable named Application to your project...

Programming - C++Builder

More Articles...

Page 7 of 13

7