add a dll program , and the scripts is close , mt4 program close too ..

 

hello ,  i try to write a dll with a windows , and then is ok , but when i stop the ea , mt4 program is close too.    what do i do wrong

in the dll close ..

Reason: