/*
** File name: Library.h
** Author:
** Date: 2024-10-31
** Brief: 动态库加载类
** Copyright (C) 1392019713@qq.com All rights reserved.
*/#ifndef LIBRARY_H
#define LIBRARY_H#include <string>
#include <iostream>
#include "SystemExportLib.h"#ifdef _WIN32#include <windows.h>typedef HMODULE Handle;
#elif __linux__#include <dlfcn.h>typedef void* Handle;
#endif // class SYSTEM_EXPORT CLibrary
{
public:CLibrary();virtual ~CLibrary();bool OpenLibrary(std::string const& strfilePath);void* Solve(std::string const &strN