17 lines
283 B
C++
17 lines
283 B
C++
|
#include "DLL.h"
|
||
|
#include <iostream>
|
||
|
|
||
|
DLL::DLL(std::string fileName) {
|
||
|
this->fileName = fileName;
|
||
|
this->handle = nullptr;
|
||
|
}
|
||
|
|
||
|
HMODULE DLL::Load() {
|
||
|
this->handle = LoadLibraryA(this->fileName.c_str());
|
||
|
return this->handle;
|
||
|
}
|
||
|
|
||
|
DLL::~DLL() {
|
||
|
//dtor
|
||
|
}
|