hi about the problem with vshost.exe it looks like you haven't disabled the "Visual studio hosting process" you can disable it under project proberties, debug -> "Enable the Visual studio hosting process". If you disable the visual studio hosting process it should work fine afaik.
only the Var object for a7.EngVar.d3d_lockable is read-only. You can still set it's value -> a7.EngVar.d3d_lockable.IntValue = 1; sets the value of d3d_lockable to 1. I hope this helps, if you still got problems don't hesitate to post !
cheers, Matthias
P.S.: I'm currently creating a new version of the wrapper, where names may and will differ from the current version, so only use this version for testing ^^