Create dllmain.c

- implementation of visible functions

FIRST VERSION! NOT FINISHED AND GIVE NOT CORRECT RESULTS!