Vai nella sezione progetti C++ e fai Dinamic Link Library (DLL) o Static Link Library (LIB)