load the dll...

This commit is contained in:
jan 2016-07-12 00:09:20 -07:00
parent e5d1ba5726
commit 681698b7e5

View File

@ -18,7 +18,12 @@ class MetaData(Enum):
# _unknown3 = 0x4075616 #STILLNOKLINGON?
def main(in_file, out_file):
def main(in_file, out_file, dll_path=None):
if dll_path is None:
dll_path = 'c:\\Program Files (x86)\\Audible\\Bin\\AAXSDKWin.dll'
dll = ctypes.CDLL(dll_path)
handle = open_file(dll, in_file)
a = (dll, handle)