NJStar CJK Viewer

HOWTO: Fix Internet Explorer (IE) 8 Crash on Windows Vista or Windows 7

If the latest version of NJStar Communicator has been installed, IE8 should be running normally. But some users have reported that IE8 crashes under certain conditions on Windows Vista or 7. We have identfied one of such cases.

If Microsoft Java VM (msjvm.dll) is installed and Windows' Data Execution Prevention (DEP) is enabled, IE 8 will crash when NJStar Communicator is running. To prevent IE8 crash, we have to either (A) Remove Microsoft Java VM, or (B) Disable Windows DEP.

As a software programmer, how can I close NJWIN in my program?

On Windows NT/2000/2003/XP/Vista.

SendMessage(FindWindow("NJWIN32",NULL),WM_CLOSE,0);

On Win 95/98/ME.

SendMessage(FindWindow("NJWIN32",NULL),WM_CLOSE,0); 
SendMessage(FindWindow("NJWIN16",NULL),WM_CLOSE,0);

 

How to switch NJWIN language from a program?

To switch NJWIN language from a program, call

SendMessage(FindWindow("NJWIN32",NULL),WM_COMMAND,id);
SendMessage(FindWindow("NJWIN16",NULL),WM_COMMAND,id);

where

id=501 - Chinese Auto Simplified
id=502 - Chinese Auto Traditional
etc..

valid id=501-518, corresponding to the menu list.
 

聚合内容