Del_Hotchkiss: Is there a way to download for free a game that's on gog if its an older game you have a cd code for but dosen't work beacause of new Windows
In general, no. The whole idea with the older "classic" releases on GOG is that GOG (or someone else, like DotEmu or Nightdive Studios or or or) has worked on getting over both the technical and legal problems that there may be getting the game to work on modern machines.
They expect to get paid for that work (plus maintaining the whole infrastructure where you can download the games from them and discuss about them in this forum etc.), so they expect you to buy the new "modernized" version. At the same time, the current IP rights holder of the game also expect to get paid for letting GOG to sell their games.
So if you want the GOG version of the game, just buy it. It is only a couple of clicks, click click clickety click and it is there! Magic...