Error LNK2019

There probably should be a little bit more information around this to be able to help you out better, but just a first thought that springs to mind: is this being inserted in the same API module you’re trying to access it from?