I have some issues with Environment.CurrentDirectory
, it sometimes goes to the System32
folder. I looked online and found out why this happens and what alternatives I have (like Application.StartupPath
and stuff like that) but the problem is the code is in a .dll
that I am using and I can't edit it (or can I).
Is there anything I can do about this?
EDIT: In the duplicate issue the person writes their own dll. I don't own the dll I'm having problems with and I can't change it.