Indenifier not found error lazarus / 21-General ---------------------------------------------------------------------- angrynewraze · 2024-05-11 11:46 I keep getting an error on line 194: "url:=getbase+'?cewidth='+inttost r(clientwidth)+'&ceheight='+inttostr(clientheight)+'&fn='+extractfilen ame(ExtractFileNameWithoutExt(application.ExeName))+'&counter='+inttos tr(counter)+getoptionalstring;" when trying to compile a undected cheat engine ---------------------------------------------------------------------- Handoko · 2024-05-11 11:54 Hello angrynewraze, Welcome to the forum. To be able to use ExtractFileNameWithoutExt, you need to put LazFileUtils in the uses clause. ---------------------------------------------------------------------- angrynewraze · 2024-05-11 22:34 Quote from: Handoko on May 11, 2024, 01:54:16 pmHello angrynewraze, Welcome to the forum. To be able to use ExtractFileNameWithoutExt, you need to put LazFileUtils in the uses clause. I don't know what that means. Where is the uses clause? And how do I get the LazFileUtils? ---------------------------------------------------------------------- Josh · 2024-05-11 22:40 Hi in the unit that has your code in it, if you go the top of it, it should look similar to Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i unit Unit1; {$mode objfpc}{$H+} interface uses  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Math,  StdCtrls, ComCtrls, Spin, bgrabitmap, BGRABitmapTypes; type   { TForm1 }   TForm1 = class(TForm)           you then add the unit name in the uses clause, something like Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i uses  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Math,  StdCtrls, ComCtrls, Spin, bgrabitmap, BGRABitmapTypes, LazFileUtils; Hope that helps