D
dudeja.rajat
Hi,
I'm using the ctypes module to load my dlls.
I have some 10 dlls the names of those are passed to a fucntion which
then loads the passed dll.
Now every dll has a getversion function.
eg: A.dll, B.dll, C.dll are the dlls
and GetVersion functions are as:
A_getVersion(), B_getVersion(),
C_getVesion()
The functionality I'm lookking for is that depending on the dll passed
the right getVersion should be passed.
I'm able to load the all the dlls passed to the function but I'm not
able to call the function names dynamically
Please help
Regards,
Rajat
I'm using the ctypes module to load my dlls.
I have some 10 dlls the names of those are passed to a fucntion which
then loads the passed dll.
Now every dll has a getversion function.
eg: A.dll, B.dll, C.dll are the dlls
and GetVersion functions are as:
A_getVersion(), B_getVersion(),
C_getVesion()
The functionality I'm lookking for is that depending on the dll passed
the right getVersion should be passed.
I'm able to load the all the dlls passed to the function but I'm not
able to call the function names dynamically
Please help
Regards,
Rajat