Azathoth #1 You use Import "-l" to link libraries, eg. Import "-ladvapi32". Extern "Win32" makes the functions usable by the Blitzmax code, from what I can tell the "Win32" means the stdcall calling convention.