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 2267381 commit 804ef12
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions MDI_Library/mdi.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
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))
print("AAAAAAAAAAAAAAAAAA: " + str(dll_directory))
#dll_directory = Path("C:\\Program Files (x86)\\mdi\\bin")
#os.add_dll_directory(str(dll_directory))
#print("AAAAAAAAAAAAAAAAAA: " + str(dll_directory))

for p in os.environ["PATH"].split( ';' ):
if os.path.isdir( p ):
os.add_dll_directory( p )

import ctypes
import sys
Expand Down

0 comments on commit 804ef12

Please sign in to comment.