dynlib demo for pascal