https://github.com/tmyt/vdmhelper
Library for Windows10 VirtualDesktopManager over cross-process.
https://github.com/tmyt/vdmhelper
Last synced: 3 months ago
JSON representation
Library for Windows10 VirtualDesktopManager over cross-process.
- Host: GitHub
- URL: https://github.com/tmyt/vdmhelper
- Owner: tmyt
- License: mit
- Created: 2015-09-07T12:51:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-01T02:09:34.000Z (about 9 years ago)
- Last Synced: 2025-03-02T00:51:22.633Z (4 months ago)
- Language: C++
- Homepage:
- Size: 70.3 KB
- Stars: 35
- Watchers: 5
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.
```cs
this.helper = VdmHelperFactory.CreateInstance(type);
this.helper.Init();
```Step4. Stop hook when app closing.
```cs
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.