cougar’s sort of correct, but most AP’s are also fragranced so technically are APDO’s
DO’s just cover up the smell, most AP’s ‘block’ the sweat pores to prevent the sweat coming out (which isn’t ideal obviously, but might be ‘necessary’)
Also: technically sweat doesn’t really smell – it’s the digestion products of the bacteria in your pits on sweat that smells.
So to the slightly unsavoury bit; when your wife says things don’t work, if her problem specifically odour, or does she also / instead suffer from excessive sweating? Because the solution might be different for either.
In general – an antibacterial soap to keep the bacteria in check helps with the former (as does including peroxide in your wash to kill bacteria left on clothes, eg: Vanish Oxi-action, and also line drying in the sunshine, UV also controls them)
To prevent sweating, you need to try a few types and you might want to see a pharmacist for some specialist ones.
I’m a chemist that worked in and around Personal care / detergents for many years so know a bit; I also have a sweaty / smelly wife 😉 – and finally it was the menopause that almost switched it off overnight. Although sadly as my daughter is going through the change at the other end, she’s now inherited the genetics or so it seems.