Yes, that is the idea. If you made the dll yourself than you can use the lib file else use the dynamic linking.