Did you,... hrm,... did you even take classes about this stuff. Ffs, this is why this career pays well: you have to understand complicated things.
Maybe your issue is with Windows. I suggest moving away from that platform.
Dynamic libraries are essential to computing, and allow us to partition out pieces of the code. One giant library would have to be recompiled with every change.
I had 2 interventions in my life and neither worked. In fact, they made it much worse for me.
I suggest that you go to AlAnon and learn a bit about alcoholism before trying anything (btw, AlAnon is not AA, but is a program to help non-alcoholics understand what they're dealing with.)
Your friend is lucky to have you. Don't give up on them. It truly is hellish, and they'll need your support.