/DynApi

Dynamically resolve winapi and other functions

Primary LanguageCMIT LicenseMIT

DynApi

Single header dynamic api resolving

  • Add function typedef
  • initialize in initApi function

The code is a simple concept of dynamic function resolving

Project can be extended by community or its author

Example

VOID(*fSleep)(DWORD); // Sleep function
...
void initApi()
{
    API("kernel32.dll", Sleep);
    ...
}

GitHub license C++ logo