hecomi / uWindowCapture

This allows you to use Windows Graphics Capture / PrintWindow / BitBlt in Windows to capture multiple windows individually and easily use them as Texture2D in Unity.
https://tips.hecomi.com/entry/2021/04/30/230322
MIT License
493 stars 79 forks source link

fix dll doesn't compile issue #58

Open ysyyork opened 1 year ago

ysyyork commented 1 year ago

I'm not sure if this is valid fix but at least I can't directly compile the C++ project out of the box. I have to do 2 things

  1. copy the .def file into the project root directory
  2. Edit the .vcxproj file and update the postbuild command path. The original path is not valid and it's missing one \...

After this change, i can compile successfully. However i'm not sure if this fix mess up anything else tho. Please check and let me know. Thanks!