Helper library for VirtualDesktopManager
how to use
Step1. Copy these files to same directory to your main exe file.
- VDMHelper32.dll
- VDMHelper64.dll
- VDMHelperCLR32.dll
- VDMHelperCLR64.dll
- VDMHelperCLR.Common.dll
- InjectDll32.exe (this is proxy for hookin 32bit process from 64bit process)
Step2. Add reference VDMHelperCLR.Common.dll to your project.
Step3. Run this code to start hook.
this.helper = VdmHelperFactory.CreateInstance(type);
this.helper.Init();
Step4. Stop hook when app closing.
this.helper.Dispose();
note
- If you use .NET 4.5 or higher, you should turn off
Prefer 32bit
flag on Build property.
- If your app runs on WoW64, IVdmHelper::Init() throw the exception. You should run as 64bit process.