Calling methods and functions from a Dll in C++