Jan 17, 2014
Jan 25, 2014
Re: problems about .exe file
Hi, Victor Brode.Thank you for your suggestion.
But it seems no use to set a breakpoint on the function_ihm.drv procedure Output_WaitBoxStart(), line 6: "load frmWaitImage, False" ,because there isn't error when running in ATEasy development environment. Errors only occurs when run .exe file outside.
I simplified the project more and add some codes like ‘MsgBox("xx")’step by step to find where the error occurs when run the .exe file. By line 4 of the procedure 'StartingTests' of driver 'Edition_config',I know there is a runtime error "419" which means the error is "Object is null". Finally I found the ".exe" file error occurs in line 2 of the procedure 'Output_WaitBoxStart' of driver 'fonction_ihm'. The code of this line is "if(frmWaitImage <> nothing)"."frmWaitImage" is a public variable of type "frmWaitImage" here.
Does it mean that error occurs when ATEasy create an object of "frmWaitImage"? What should I do?
It seems that there are some unstable factors, for sometimes when I run my program inside ATEasy , I will be told that a dll file is not found, but when I exit ATEasy and try again, no errors occurs; sometimes when I run my program inside ATEasy, an error about sharing occurs(see attachment 'ATEasysharing_error.bmp').
I use the ATEasy8 build148c edition. I've downloaded the 'ATEasy9.-150d.exe' file whose size is 35.5MB, but when I tried to install it,an error occured(see attachment 'ATEasy9Error.bmp'). The operating system is Windows XP professional Version 2002, service pack 2.
Thank you again for your advise.Best wishes!