Skip to content
New issue

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

access violation writing 0x4DBAF26F #92

Open
babymonie opened this issue Apr 15, 2024 · 0 comments
Open

access violation writing 0x4DBAF26F #92

babymonie opened this issue Apr 15, 2024 · 0 comments

Comments

@babymonie
Copy link

babymonie commented Apr 15, 2024

It doesn't work my code is

import dxcam
camera = dxcam.create()
frame = camera.grab()
camera.show(frame)

i get this error:

Traceback (most recent call last):
  File ".\screensharer.py", line 1, in <module>
    import dxcam
  File "C:\Users\Aloy\AppData\Local\Programs\Python\Python38-32\lib\site-packages\dxcam\__init__.py", line 102, in <module>
    __factory = DXFactory()
  File "C:\Users\Aloy\AppData\Local\Programs\Python\Python38-32\lib\site-packages\dxcam\__init__.py", line 15, in __call__
    cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
  File "C:\Users\Aloy\AppData\Local\Programs\Python\Python38-32\lib\site-packages\dxcam\__init__.py", line 27, in __init__
    p_adapters = enum_dxgi_adapters()
  File "C:\Users\Aloy\AppData\Local\Programs\Python\Python38-32\lib\site-packages\dxcam\util\io.py", line 24, in enum_dxgi_adapters
    create_dxgi_factory(IDXGIFactory1._iid_, ctypes.byref(pfactory))
OSError: exception: access violation writing 0x4DBAF26F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant