Just check out the example in the sdk_engine folder -> e_tutorial.cpp. Vars.h must be included before adll.h.