Compiler defaults

Started by Haakon Birkeland, June 07, 2004, 07:42:01 PM

Previous topic - Next topic

Haakon Birkeland

Not all fields in this dialog are that obvious to everyone. I'm thinking of "Include path", and "RC include path" that's asking for a path only, and no specified file.
Could FF consider to initially pick up these settings up from the registry, search for them, or at least give the user a hint on what to look for?!

Roger Garstang

Which version are you using (FF and PB)?  When I installed FireFly the first thing I did is monitor Registry and File Access with SysInternal's Apps.  If I recall it reads the values from HKEY_CURRENT_USER\Software\PowerBASIC\PB/Win\7.02

This worked alright for me since I have installed PB from that point and updated since so have the other keys as well, but if you did a fresh install with the latest or went from a previous version straight to 7.04 that key may be missing. Both include paths are set to C:\PBWin70\WinAPI\ in my settings though if you need them.  It is the folder with all of the Win32 API files ending in .inc under your PB install folder.

TechSupport

FireFly will attempt its best to read the installed settings of the PowerBASIC compiler. Like Roger has noted, if the PB compiler was installed correctly then FireFly should be able to pick up the settings automatically. However, I do believe that PB have recently changed back to using INI files... FireFly has not been updated to read those.

You may also want to read the Help file section called, "Setting up FireFly". It clearly explains what each setting is for.  ;)

Haakon Birkeland

I'm on PB 7.03.. Fresh install, as I dumped the previous folder.

QuoteYou may also want to read the Help file section called, "Setting up FireFly". It clearly explains what each setting is for.

Sure, but it's always good not having to do so. And if there are dumber users than me (could there be?), it's just a jolly good thing to spell it out loud.

Roger Garstang

Yep, looks like that was the problem.

Paul,

Might want to have FF Enum the keys under the main HKEY_CURRENT_USER\Software\PowerBASIC\PB/Win\ key and get the value from whatever key has it.  They are all the same on mine, so just searching for the highest number value and getting them from their should work...just in case in version 7.x they used different folders than 7.04 the highest should be the current if PB's Uninstall cleans up after itself.  Might still need to compair though and if different use whatever folder exists or something.