Added Initialise window code

Dll Error