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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -