When connecting to Delphi XE2 to the uses System.Net, System.IO project uses System.Net, System.IO produces errors:

[DCC Fatal Error] Update.

[DCC Fatal Error] Update.pas (7): F1026.

Component version 4 is present in the system, why gives an error? When printing System. The environment offers a list of elements in which there is no .Net .IO .

enter image description here

I work with an example in C #, is it possible to connect these libraries in Delphi?

    1 answer 1

    Unless you use Delphi for .NET or Delphi Prism (and you obviously don't use it), you should not and cannot use .Net runtime.

    Delphi has its own standard library, its own runtime, its own modules, all its own.

    Delphi has nothing to do with C #.