Don't know about Hoppes but G96 will get it done. I haven't cleaned one of my SKSs in years and shot thousands of corrosive through it, I just spray the thing with G96 when I get home. It's dirty as hell, but no rust.
It's also nice when your gun smells like bubblegum.
The following is a repeat post, last time you will hear from me on the subject.
Corrosive primers contain potassium chlorate (KCLO3). It acts as an oxidizer and helps in the controlled burning of the primer explosives. It also acts as a preservative. Properly stored military corrosive ammo can last for 100 years. Non corrosive commercial ammo has a shelf life of about 30 years.
2 KCLO3 ---> 3 O2 + 2 KCL
Potassium chloride (KCL) is a combustion by product. This salt is what can cause corrosion in your weapon.
Windex does not contain any meaningful amount of ammonia. A trace amount of ammonium hydroxide is used as a ph adjuster. The "Ammonia D" is a trade name. Windex contains ethyleneglycol monohexylether, water, isopropanol, propylene glycol and blue colorant.
http://www.scjohnson.ca/msds/Windex Ammonia-D.pdf
The water in windex is the only thing that dissolves potassium chloride. The only advantage over cold water is that it dries quickly.
The problem here is that the salts produced by burning the primers is mixed in with the carbon deposits left in the barrel and gas system. Hot water, cold water, or Windex might remove some salt but not all salt. (hot water alone does not remove carbon deposits). You have to remove all carbon deposits to prevent corrosion. Whether you start with water or not does not matter.
To clean I run a few patches soaked with water or windex down the barrel, gas system etc.. Then clean as per a normal weapon. Remove all carbon build up with a solvent. Ed's Red solvent, Gunzilla CLP or G96 do a fine job. Leave a heavy coating of oil in the barrel and the gas system when storing. Oiled parts do not rust. G96, Fluid Film, and properly made Ed's Red gun oil also contain lanolin (the wax from sheep wool). This wax is particularly good at preventing metal from rusting. This wax coating prevents oxygen from reacting with the metal in your gun ( a reaction enhanced by the presence of salt ). Wax tends to work better than oil since it is has a much lower vapour pressure ( does not want to evaporate ). Prior to shooting run a dry patch down barrel, gas system and other areas to remove excess oil or fluid.
Ed's Red formula: (recommend putting lanolin in the Ed's Red)
https://nfa.ca/resource-items/eds-red-homebrew-bore-solvent
Bottom line. If you are having success cleaning your weapon using what ever method you use, stay with it. Always use gloves when handling solvents. Anything that dissolves carbon will be absorbed through your skin, get into your blood stream and eventually harm your internal organs. Black Nitrile gloves are available at Canadian Tire for 33 cents a pair and well worth the investment in your health. If you can smell the cleaner you do not have enough ventilation in your work area. Protect your brain and blood from harmful solvents
Good shooting..and good health to you and yours.