Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Need IOUtils or IOControll 7 months 3 weeks ago #18415

  • TECHNOLOG
  • TECHNOLOG's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi,
I am trying to convert a Delphi Source Code to Free Pascal for Windows. For some parts IOUtils / IO Controll is needed.
It looks like that I need Free Pascal Units to access the IOControl under Windows to access some System informations about the laptop battery.
The Delphi Code has the following units in use. Any alternatives in Code Typhoon?
uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.StrUtils, System.DateUtils, System.IOUtils, System.Variants, System.Classes, System.Math, System.Win.Registry, System.Rtti, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.WinXCtrls, Vcl.CheckLst, Vcl.AppEvnts, Vcl.Clipbrd, Windows.Foundation, Windows.System.WindowsProgramming, Windows.System.Power, Windows.System.Threading, Windows.Devices.DeviceAndDriverInstallation, Windows.System.SystemServices, Windows.System.Shutdown, Windows.System.Recovery, Windows.UI.WindowsAndMessaging, Vcl.Menus {, Windows.UI.Input.KeyboardAndMouse};

Please Log in or Create an account to join the conversation.

Need IOUtils or IOControll 7 months 3 weeks ago #18416

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1114
  • Thank you received: 165
Please wait for the NEW LAB CodeTyphon 8.40 release.
ETA 1-2 days if ALL are OK.

Then you can find in
C:\codetyphon\fpcsrc\packages\vcl-compat\src\
folder the Units:

system.analytics.pp
system.ansistrings.pp
system.credentials.pp
system.devices.pp
system.diagnostics.pp
system.hash.pp
system.imagelist.pp
system.ioutils.pp
system.json.pp
system.messaging.pp
system.netencoding.pp
system.notification.pp
system.permissions.pp
system.pushnotifications.pp
system.regularexpressions.pp
system.regularexpressionsconsts.pp
system.regularexpressionscore.pp
system.threading.pp
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..
  • Page:
  • 1