How to add crutil.pas to my CLI project? lazarus / 61-Beginners ---------------------------------------------------------------------- bulrush · 2016-06-07 14:40 I'm making a CLI project (call it 'testcli') and I have a crutil.pas file full of utility routines I might use with any program. I know I have to put it in the 'uses' clause, but how do I add it to a CLI program? Example: My projects are in the directory Projects. So here is where some of the files are. 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 Projects\crutil.pasProjects\testcli\testcli.lpi ---------------------------------------------------------------------- Handoko · 2016-06-07 15:27 Try this: 1. First, open your testcli.lpi project. 2. On Lazarus menu > click Project > Project Inspector... 3. On the Project Inspector > click "Add" button. 4. Chose Add Files from File System. 5. Select the crutil.pas unit. ---------------------------------------------------------------------- molly · 2016-06-07 15:28 One of the possible solutions is to place something like: Quote{$UNITPATH ../../} just above the uses clause of the unit/program that wants to include that unit. You would need to sort out the correct (relative) path yourself.