Dynamic DLL linking with the help of template classes
Posted: Tue Jun 14, 2011 9:39 pm
I have a bunch of template classes that I always include whenever I need to dynamically link a DLL and call its functions. The classes (an exception handler, a TDll class for the DLL itself, and a number of template classes for DLL procedures) help me a lot to avoid typing the usual code associated with dynamic DLL loading, function call and memory freeing. In fact, the calling of a DLL function using this helper class unit could be contained in a matter of three lines.
Please tell me if this is eligible. I am not quite sure whether this subject hasn't been yet covered and published before; please let me know.
Regards,
Iskander S. Shafikov
Rosneft Oil Company (Russia)
Please tell me if this is eligible. I am not quite sure whether this subject hasn't been yet covered and published before; please let me know.
Regards,
Iskander S. Shafikov
Rosneft Oil Company (Russia)