开发者

Popup window appearing while stopping the C process

开发者 https://www.devze.com 2022-12-12 15:09 出处:网络
I am calling a C process from my Java program, and ending that C process using exit (0). On Windows machine, under certain conditions it is opening a pop-up window telling me that

I am calling a C process from my Java program, and ending that C process using exit (0).

On Windows machine, under certain conditions it is opening a pop-up window telling me that "Test.exe has encountered a problem and needs to close. We are sorry for the inconvenience."

Does anyone have a guess why this problem is coming around? I want a clean shutdown without any window being opened.

I h开发者_C百科ave used below alternatives also to close, with the same result:

exit(EXIT_SUCESS);

and

return 0;


The exit or return isnt likely to be the issue - the problem is a memory overrun etc. within the exe. You need to debug that when the problem happens.

0

精彩评论

暂无评论...
验证码 换一张
取 消