in reply to Win32::API accessing DLL

Use the decorated name. MS DLLs are special since they were all made with DEF files where the names are plain and undecorated. @4 means your function takes one 32 bit parameter and is stdcall. cdecls dont have a @12345.