Added example code for dll export.