I build my project to exe.When I running exe ,it's ok.But some days later,problems come.First,a dialog that show 'xxx.exe has encounter a problem.It need close...' comes and then I chose 'debug' but my exe crashes.This dialog appears two times in a week.There is no reason I can find out,so it is very boresome.Can you help me?Thank you for your read~
Have you try to rebuild your exe??
If your program has dll calling, possible is not stable or corrupt.
Maybe you can monitor the pc memory is ramp up or not.
My project apply to industrial-process measurement and control. Just as you say,I implement modbus protocol .So I use VISA function.