#ifndef DLLLOADER_H_INCLUDED #define DLLLOADER_H_INCLUDED #include namespace Utility { //load kernel dll functions template FunctionType loadDllFunKernel(const std::string& functionName); //---------------Inline Implementation--------------------------------------------------- void* loadSymbolKernel(const std::string& functionName); template inline FunctionType loadDllFunKernel(const std::string& functionName) { return reinterpret_cast(loadSymbolKernel(functionName)); } #ifndef FFS_WIN use in windows build only! #endif } #endif // DLLLOADER_H_INCLUDED