libfilezilla
Public Member Functions | List of all members
dll Class Referencefinal

Encapsulates a DLL. More...

#include <dll.hpp>

Public Member Functions

 dll (wchar_t const *name, DWORD flags)
 Open the specified library with the passed in flags.
 
 ~dll ()
 Closes the library and frees related resources.
 
 dll (dll const &)=delete
 
dlloperator= (dll const &)=delete
 
 operator bool () const
 
void * operator[] (char const *name)
 Retrieves the address of an exported symbol in the library. More...
 

Detailed Description

Encapsulates a DLL.

The DLL is loaded up on construction and freed on destruction.

Member Function Documentation

◆ operator[]()

void* operator[] ( char const *  name)
inline

Retrieves the address of an exported symbol in the library.

Cast the address to the proper type with reinterpret_cast


The documentation for this class was generated from the following file: