You shouldn't assign character arrays to STRING pointers.
char* != STRING* !
Please read the manual section concerning strings.
I have gone through the manual.
And I changed all STRING * to char *.
I don't get any "Invalid Arguments" but as soon as I start a Windows Dialog Box pops up saying "acknex.exe has stopped working....".
The error is in the line "set(Calender,SHOW);".
(Tested, When I remove it everything goes fine)