Text in statusbar hang up when solidwork load some file

I was develop an API for solidwork and i try to current CPU and RAM consume, It actully work fine but when solidwork is loading some file, the text will hang up until it finish loading.
how can i solve this problem ?


https://forum.solidworks.com/docs/DOC-1604

I follow this method but i do not understand how  to follow this

help me , pls

SolidworksApi macros