$mircdir is in %appdata% but using a relative path in the dll it tries to access %programfiles% and results in access errors (using the default shortcut from the start menu)