Attempting to start a load module from Windows Explorer and get the following message.
<LoadModule>.EXE has stopped working
Background: Gen 8.5 was released and compiled with VS2010, so all of the Gen entries in the System Path are for VS2010.
Problem: You are attempting to execute an application <loadmodule>.EXE that was built with VS2012. But, there are no Gen directories in the System Path for VS2012. The System Path only has entries for Gen VS2010.
Resolution: (1)Test the application from the Build Tool because the Build Tool is programmed to understand VS2010 and VS2012. From the Build Tool, highlight the load module, and click Action, Test, select the appropriate TRANCODE, OK. (2) Open a DOS window, set the PATH to include the Gen VS110 directory, and then run the executable.
NOTE: Do not modify the System Path and include the Gen VS2012 directory. This will cause the Gen Toolset and other features to stop working since they are compiled with VS2010.
The following is elaboration of step 2.
1. Open a DOS window.
2. Type the following command: set path=C:\Program Files (x86)\CA\Gen85\Gen\VS110;%path%
3. Type the following command and you should see the directory C:\Program Files (x86)\CA\Gen85\Gen\VS110 prepended to the original PATH: PATH
4. Change directory to the directory containing your client executable: cd C:\Users\singhas\Documents\CA\Gen 8.5\Models\instcstg.ief\c\<loadmodule>
5. Execute your load module by typing the command, replacing <trancode> with the trancode you want to start with: <loadmodule>.EXE <trancode>