Introspecting a C++ dll with python and calling function -
i'm searching way call function inside c++ dll. work c# , c++ seems can't use reflection on dll , calling function name string.
i saw post on ctypes, i'm not sure if fit needs. need python library introspect c++ dll, call function, getfood() string mydll.call('getfood').
thank you.
yes, ctypes need. use:
dllobj = ctypes.windll("dll file name") to load dll memory. can find functions , call them. this nice job of explaining.
Comments
Post a Comment