correct usage of calling convention/export macros for rcsdll project