edit.pp - What Kind of Project ? lazarus / 67-Windows ---------------------------------------------------------------------- pmckone · 2020-09-25 19:03 edit.pp is a win32 program that comes with FPC.  It doesn't use any Component Library files.  When I double-click on edit.pp, Lazarus starts up, and asks what kind of project do I want to make.  None of the options look right.  I just want to edit the source and compile with FPC.  Thanks for any suggestions> ---------------------------------------------------------------------- Martin_fr · 2020-09-25 20:01 "Program" ---------------------------------------------------------------------- Thaddy · 2020-09-25 20:12 Quote from: pmckone on September 25, 2020, 09:03:18 pmedit.pp is a win32 program that comes with FPC. No it does not come with FPC (find -name edit.pp returns nothing and I have all the sources, so also the win32 parts, although I am working on Linux) Quote  It doesn't use any Component Library files.  When I double- click on edit.pp, Lazarus starts up, and asks what kind of project do I want to make.  None of the options look right.  I just want to edit the source and compile with FPC.  Thanks for any suggestions> Where is it located? (relative path of course) It is probably a unit , not a program. I only checked this for FPC, not for Lazarus. ---------------------------------------------------------------------- Martin_fr · 2020-09-25 21:03 It is in the fpc build svn, under demos. ---------------------------------------------------------------------- Bart · 2020-09-25 21:08 Quote from: Thaddy on September 25, 2020, 10:12:21 pmWhere is it located? (relative path of course) It is probably a unit , not a program. I only checked this for FPC, not for Lazarus. There is a reason that Lazarus IDE asks what kind of application it should make. And that reason is not that edit.pp is a unit. Bart ---------------------------------------------------------------------- winni · 2020-09-25 21:21 Hi! edit.pp is a little bit dusty and rusty. It is from  fpc 2.2.0. 2006? 2007? 2008?  Around that time. In the directory demo/win32/ This tells my harddisk to me. It is not in the current fpc and Lazarus. Winni ---------------------------------------------------------------------- Bart · 2020-09-25 22:16 Quote from: winni on September 25, 2020, 11:21:53 pmIt is not in the current fpc I beg to differ: Code: [Select]C:\devel>dir edit.pp /s  Volume in drive C is Windows  Volume Serial Number is 0C94-A215  Directory of C:\devel\fpc\3.0.4\demo\win32 15-03-2009  13:05            13.031 edit.pp                1 File(s)         13.031 bytes  Directory of C:\devel\fpc\3.2.0\demo\win32 28-02-2020  17:30            12.572 edit.pp                1 File(s)         12.572 bytes  Directory of C:\devel\fpc\3.2.0RC1\demo\win32 15-03-2009  12:05            13.031 edit.pp                1 File(s)         13.031 bytes Bart ---------------------------------------------------------------------- winni · 2020-09-25 22:55 Hi! I also beg to differ: Neither in the dir fpcsrc nor in fpc But I am on Linux. Seems that the Linux users are discriminated. Again ..... ( Don't take that too serious ) Ok, if that is Win-only that's OK. Winni ---------------------------------------------------------------------- pmckone · 2020-09-26 01:06 I know this is the old-fashioned Windows programming method.  My intent is to add a Windows GUI to the old Turbo chess program.  I probably should use the component libraries.  I'm guessing someone from Borland did this a long time ago, because there a C++ version of this program that shipped with CBuilder that does use component libraries.  Thanks for your replies.  Sorry I didn't mention that the source is in the "demo" directory. ---------------------------------------------------------------------- PascalDragon · 2020-09-26 07:58 Quote from: winni on September 26, 2020, 12:55:54 amNeither in the dir fpcsrc nor in fpc But I am on Linux. Seems that the Linux users are discriminated. Again ..... It's part of the demos (which is part of the fpcbuild repository) and it's included with our standard Linux installer inside the demo.tar.gz and will be installed if you answer y on the question to install demos. That said it is located in the win32 subfolder. It's also contained in our standalone Windows installer. ---------------------------------------------------------------------- dbannon · 2020-09-26 08:31 yep - Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i dbannon@dell:~/Pascal/Packages$ find ../../bin/FPC/ -name edit.pp../../bin/FPC/fpc-3.2.0-x86_64-linux/y/win32/edit.pp My guess is that I answered 'y' for yes when asked if I wanted the demos ! :-) Davo