Re: Could not execute 'C2.EXE'



A dialog box comes up with a white cross in red circle with "Ok" as
push-button switch.
The text reads:

The application failed to initialize properly (0xc0000005). Click on Ok
to
terminate the application.

Stephen Howe


For what's it's worth, a healthly C2 generates this from the command line
...
c:> .....\vb98> c2
fatal error C1083: Cannot open compiler intermediate file: 'in': No such
file or
directory
c:> .....\vb98> c2 /?
fatal error C1007: unrecognized flag '/?' in 'p2'

Thanks for that. I think I know what it is (working hypothesis).
I think on installation, it is parking the run-time Visual Studio
executables in Windows Systems32 directory (that C2.EXE directly depends on)
But, they dont get installed. They dont get installed because newer versions
are already present in the Windows Systems32 directory.
And for some reason, they are incompatible, which is why C2.EXE does not
intialise.

The solution would be try and persuade installation to place all binaries in
C:\Program Files\Visual Studio\VB98 because Windows will always look in the
application directory first before Window System32. I realise the rules have
changed slightly with newer versions of Windows to avoid "DLL hell" but I
believe this is still good.

Stephen Howe



.