Missing objects lazarus / 21-General ---------------------------------------------------------------------- andy-cat · 2022-12-14 09:46 Hello! Lazarus lacks many of the modules, functions, and procedures found in Delphi. Is there a list somewhere of what they were replaced with? ---------------------------------------------------------------------- howardpc · 2022-12-14 09:49 What is your list of what is "missing"? ---------------------------------------------------------------------- xfnHb7 · 2022-12-14 10:00 No not missing but just named a bit different. Use the wizard to import your Delphi project it will do the renaming for you. e.g: Delphi's System.SysUtils is just SysUtils here, but System.SysUtils also works in mode Delphi. ---------------------------------------------------------------------- andy-cat · 2022-12-14 10:02 I don't have a list. There is an example. When trying to migrate my component, I didn't find any modules from Delphi\Source\ToolsAPI: DesignConst.pas DesignEditors.pas DesignIntf.pas DesignMenus.pas DesignWindows.pas ---------------------------------------------------------------------- xfnHb7 · 2022-12-14 10:11 Quote from: andy-cat on December 14, 2022, 11:02:21 amI don't have a list. There is an example. When trying to migrate my component, I didn't find any modules from Delphi\Source\ToolsAPI: DesignConst.pas DesignEditors.pas DesignIntf.pas DesignMenus.pas DesignWindows.pas I'm trying to talk about something I have no idea about. But I trust my Google fu. Your component should be very old, maybe developed by Delphi 7 as all the results Google gives me are that old. There is problems with proxies.pas too. My guess is why don't you just try commenting out all of them and see if it works? ---------------------------------------------------------------------- andy-cat · 2022-12-14 10:27 Yes, this is Delphi 7. Commenting does not help. I tried commenting out the unit. Unfound objects appear from it. ---------------------------------------------------------------------- xfnHb7 · 2022-12-14 10:42 Quote from: andy-cat on December 14, 2022, 11:27:11 amYes, this is Delphi 7. Commenting does not help. I tried commenting out the unit. Unfound objects appear from it. Copying the missing source files from Delphi? Sorry because I wasted your time. I have no idea about what I'm talking too. ---------------------------------------------------------------------- KodeZwerg · 2022-12-14 10:46 There is also the possibility to upload your project in here and the professionals can take a look on to help fixing it/making it FPC (Lazarus) compatible. ---------------------------------------------------------------------- jamie · 2022-12-14 10:53 Quote from: andy-cat on December 14, 2022, 11:02:21 amI don't have a list. There is an example. When trying to migrate my component, I didn't find any modules from Delphi\Source\ToolsAPI: DesignConst.pas DesignEditors.pas DesignIntf.pas DesignMenus.pas DesignWindows.pas Well, I guess that is partially your problem. Delphi use to provide and maybe still do functional files that are used within their own tools. These files are not directly intended to be used for user apps.  They are part of the Delphi environment.  Even Lazarus has such files, and it is wise not to rely on them unless you have no plans to migrate?  In your case you can create equal functionality of those files only if you really need them.  Good luck. ---------------------------------------------------------------------- MarkMLl · 2022-12-14 10:58 Quote from: KodeZwerg on December 14, 2022, 11:46:14 amThere is also the possibility to upload your project in here and the professionals can take a look on to help fixing it/making it FPC (Lazarus) compatible. Except DO NOT UPLOAD ANY DELPHI SOURCE FILES PLEASE. MarkMLl ---------------------------------------------------------------------- Thaddy · 2022-12-14 11:42 These units and their names differ per Delphi versions. The way Lazarus works is different for design time. Which Delphi version are you referring to? ---------------------------------------------------------------------- andy-cat · 2022-12-14 12:24 Delphi 7 ---------------------------------------------------------------------- Thaddy · 2022-12-14 12:26 So you are basically trying to use a component and you have the source and it had a permissive licence? in that case we may be able to help. ALL these units are only design time, not compile time. ---------------------------------------------------------------------- andy-cat · 2022-12-14 12:30 Quote from: xfnHb7 on December 14, 2022, 11:00:35 amNo not missing but just named a bit different. Use the wizard to import your Delphi project it will do the renaming for you. e.g: Delphi's System.SysUtils is just SysUtils here, but System.SysUtils also works in mode Delphi. Unfortunately, the wizard was unable to convert the package. The package is empty. Message:  Fatal: Conversion aborted. ---------------------------------------------------------------------- Thaddy · 2022-12-14 12:33 Quote from: andy-cat on December 14, 2022, 01:30:05 pmQuote from: xfnHb7 on December 14, 2022, 11:00:35 amNo not missing but just named a bit different. Use the wizard to import your Delphi project it will do the renaming for you. e.g: Delphi's System.SysUtils is just SysUtils here, but System.SysUtils also works in mode Delphi. Unfortunately, the wizard was unable to convert the package. The package is empty. Message:  Fatal: Conversion aborted. That quote is wrong.j ---------------------------------------------------------------------- PascalDragon · 2022-12-16 14:34 Quote from: andy-cat on December 14, 2022, 11:02:21 amI don't have a list. There is an example. When trying to migrate my component, I didn't find any modules from Delphi\Source\ToolsAPI: DesignConst.pas DesignEditors.pas DesignIntf.pas DesignMenus.pas DesignWindows.pas This is the design time API of Delphi. Lazarus does not clone that (unlike the API of the VCL itself), so you will need to write that code anew with whatever Lazarus provides.