dllimport/dllexport and inline should never be used together, in this instance inline must be used since making this code non-inline would cause a whole mess of other issues with duplicate definitions of these methods