How to make a Dynamic Link Library