P2G_DLL export and #pragma once