Delphi Pages Forums

Delphi Pages Forums (
-   .NET (
-   -   IsMultiThread in Delphi.NET (

cuterita7 04-22-2009 10:47 AM

IsMultiThread in Delphi.NET

I am creating a library in Delphi for .NET,I get the following error "Undeclared identifier: 'IsMultiThread'"
at the following line of code IsMultiThread :=True;

How can I specify that the application Is MultiThreaded in delphi for .net


develyoy 04-22-2009 09:09 PM

RE: IsMultiThread in Delphi.NET
IsMultiThread was a global var in System.pas, primarily to have thread-safe string-reference-management in multi-threaded application, but especially to avoid this overhead when you weren't planning on doing anything multi-thread in an application.

DotNet reigns over string-data for you and no longer needs a single global variable to control this.

All times are GMT. The time now is 06:41 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.