如何解决Windows中的.exe应用程序执行问题

问题描述:

我在Windows中遇到.exe应用程序执行问题



如果我想在其他系统上执行.exe应用程序它显示



A问题导致程序停止正常工作。如果有解决方案,Windows会关闭程序并通知您。



如何解决此问题

Iam facing problem with the .exe application execution in windows

if i wanted to executed the .exe application on other system it showing

A Problem caused the program to stop working correctly.Windows will close the program and notify you if a solution is available.

how to resolve this issue

您应该记录应用程序中的所有内容以了解问题。为此,您应该从应用程序的 Main()方法开始记录,并且在您拥有某些计算或资源访问权限的每行代码之前和之后,您应该记录一些信息,如班级名称,方法名称,方法参数(如果存在)等。

之后,您可以找到问题的确切位置。
You should log every thing in your application to know the problem. For doing this, you should start logging from the Main() method of the application and before and after each line of code that you have some calculations or resource access, you should log some information like 'Class name', 'Method name', 'Method parameters'(if exists) and etc.
After that you can find the exact place of the problem.