Skip to content

Commit

Permalink
Update mdi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-a-barnes authored Jan 24, 2025
1 parent 5c9f521 commit 372e01c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MDI_Library/mdi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
dir_path = os.path.dirname(os.path.realpath(__file__))
os.environ["PATH"] += r";C:\Program Files (x86)\mdi\bin"

# Add the directory containing the DLL
dll_directory = Path("C:/Program Files (x86)/mdi/bin")
os.add_dll_directory(str(dll_directory))

import ctypes
import sys
import importlib
Expand Down

0 comments on commit 372e01c

Please sign in to comment.