OK, so if you edit the fpc.cfg, how do you make FPC look at it? I added lines to the fpc.cfg, and it did not work...
OK, so if you edit the fpc.cfg, how do you make FPC look at it? I added lines to the fpc.cfg, and it did not work...
--MagicRPG--
It's always worked for me in the past. Btw, I've just uploaded new installers that should now check to see if FreePascal exists in the Uninstaller part of the registry. This of course means that they user must have used the FreePascal installer to start off with.
Could someone who has used the FreePascal installer, please test it. I have also added a Demos only installer which obviously does not mess round with any registry settings.
Hi Dom
I tested the installer, works OK. I didn't get any entries in my Delphi library paths, but that might be because I have both Delphi 5 and BDS 2006 in this machine.
In addition, my FPC is 2.0.2 not 2.0.4 so no changes were made to the fpc.cfg. But I think I did not use the FPC installer so that's probably correct.
Nice work
<A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
<br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
<br /></A>
Even if you have both Delphi 5 and BDS installed it should still work. Did you have Delphi 5 and BDS closed when you ran the installer?Originally Posted by technomage
Both were closed.
I'll try again and see what happens.
<A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
<br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
<br /></A>
Hmm, Actually which installer did you try? Note that the Demos only one does not write to the registry.
If it still fails could you please have a look at
HKEY_CURRENT_USER\Software\Borland\Delphi and tell me which version you have listed there and if your 5.0 subkey has a Library/Search Path variable.
Also please check under
HKEY_CURRENT_USER\Software\Borland\BDS and let me know what versions you have there as well. I'm currently checking for 5.0 but I may have gotten that wrong.
under the Delphi key I have a 5.0 entry, but no sub keys to do with Library Paths.
Under Borland/BDS/4.0/Library there are entries for "Search Path" and "Browsing Path"
<A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
<br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
<br /></A>
Ah ok, I was only checking for 4.0, but I also needed to check for 5.0 and also needed to update the various Browsing Paths.
I have just uploaded new versions of the installers with these fixes. Please try them out when you have a second.
Does anyone know where Delphi 5 keeps its Library and Browsing Paths, because 4, 6 and 7 have them in the location I mentioned previously.
FPC always reads fpc.cfg if it's in right path. In windows this means it must be placed where the binary of FPC is (and I think $HOMEDRIVE/$HOMEDIR/fpc.cfg is also checked).
The only way to NOT use fpc.cfg (if it's in right place) is to use -n option.
fp.cfg is useless for non fp users.
Feel the power of Open Source.
<br />Feel the power of Free Pascal.
Hi, I downloaded the full setup file. The download was succesfull but it was not added to Delphi. I have Delphi 6 Enterprise edition.
Wake up from the dream and live your life to the full
Bookmarks