Prev | Next |
# include <cppad/utility/link_dll_lib.hpp>
link_dll_lib dll_linker(dll_file, err_msg)
fun_ptr = dll_linker(function_name, err_msg)
link_dll_lib(const std::string& dll_file, std::string& err_msg); ~link_dll_lib(void); void* operator() (const std::string& function_name, std::string& err_msg) const;
fun_ptr
return
values is used.
err_msg
is non-empty, it contains an error message
for the corresponding operation.
void*
version of a pointer the function corresponding to
function_name
.
link_dll_lib
.