Root > Reference > All Functions > SetAppType

Procedure SetAppType

Previous pageReturn to chapter overviewNext page   

Set a type of this application.







Code (Delphi)

procedure SetAppType(

const AAppType: TAppType





Type of application to set. This is one of ETypes.atXXX constants. Like atVCL, atConsole and so on.





This is routine from low-level unit. Do not use this unit unless you need to extend or alter EurekaLog behavior.


Examples of application's type are: VCL, CLX, VCLX, console, service, CGI, IntraWeb and so on.


An application type is arbitrary non-empty string.


Application may have more than one type in some cases. For example, it can be both console and CGI.


Application type is generic qualifier that affects EurekaLog behaviour. For example, VCL application intercepts Application.ShowException and uses window error dialog.


EurekaLog plugins can call this routine to indicate that they're installed. For example, EAppVCL calls this as SetAppType(atVCL) - indicating that application is VCL application.


You can use IsAppType function to check application for being of a known type.


There are also simple wrappers for more easy access. For example, IsVCL, IsConsole and so on. See EAppType unit for more info.


See also

Send feedback... Build date: 2022-03-28
Last edited: 2022-03-28
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.

Permanent link to this article: