2020-11-22 14:13:45 +01:00
|
|
|
#ifndef __LOAD_LIB_H_LINCLUDED_
|
|
|
|
#define __LOAD_LIB_H_INCLUDED_
|
|
|
|
|
|
|
|
// macros '@use_library' and 'load_library' defined in file 'load_lib.mac'
|
|
|
|
|
|
|
|
asm{
|
|
|
|
@use_library mem.Alloc,mem.Free,mem.ReAlloc,dll.Load
|
|
|
|
}
|
|
|
|
|
2020-12-05 11:14:15 +01:00
|
|
|
bool LoadLibrary(const char* /*lib_name*/, char* /*lib_path*/, const char* /*system_path*/, void* /*myimport*/)
|
2020-11-22 14:13:45 +01:00
|
|
|
{
|
|
|
|
asm{
|
|
|
|
load_library [ebp+8], [ebp+12], [ebp+16], [ebp+20]
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|