We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
op.BindWindow(hwnd, 'dx.d3d11', 'dx', 'windows', 1) while(1): pass
op.BindWindow(hwnd, 'dx.d3d11', 'dx', 'windows', 1) op.Capture(0, 0, 1260, 850, './1.jpg')
[2023/12/13 21:52:49.025]x64info: error pInfo->width != _width || pInfo->height != _height frame info: hwnd:0 frameId:0 time:0 height0 width:0
但是第二次绑定的返回值是1,显示绑定成功?
The text was updated successfully, but these errors were encountered:
此外,如果程序一直在循环进行找图时,如果直接中断程序,再次运行也会报同样的错误:
[2023/12/14 02:08:41.013]x64info: error pInfo->width != _width || pInfo->height != _height frame info: hwnd:0 frameId:0 time:0 height0 width:0
Sorry, something went wrong.
No branches or pull requests
Bug如下:
1. 第一步只绑定一次窗口,并让程序一直保持运行
2. 让程序while循环的时候最小化窗口
3. 终止上面的程序,重新运行程序并截图
4. op报错:
5. 需要再次运行第三步的程序才会解决
但是第二次绑定的返回值是1,显示绑定成功?
The text was updated successfully, but these errors were encountered: