#include <windows.h>
マクロ定義 | |
| #define | RTLD_LAZY 0x1 |
| #define | RTLD_NOW 0x2 |
| #define | RTLD_LOCAL 0x4 |
| #define | RTLD_GLOBAL 0x8 |
| #define | RTLD_NOLOAD 0x10 |
| #define | RTLD_NODELETE 0x80 |
| #define | RTLD_NEXT ((void *) -1) |
| #define | RTLD_DEFAULT ((void *) -2) |
| #define | dlopen(path, mode) ((void *)LoadLibrary(path)) |
| #define | dlsym(handle, symbol) ((void *)GetProcAddress((HINSTANCE)handle, symbol)) |
| #define | dlerror() "DLL error" |
| #define | dlclose(handle) FreeLibrary((HINSTANCE)handle) |
dlfcn.h で定義されています。
1.5.0