First, please tell me why did you inlude litec.h when you want to program in pure-mode ?
Just include acknex.h, windows.h and if you want default.c

Will check the code and post you an example, but will take a while (just re-installed GStudio)

See ya