When I try to make an exe there is the following error:
File not found: C2.EXE
I don't find this file on my system! Could you send me it!
Where do I copy it to ?
Thank for your help,
Jeremy
Printable View
When I try to make an exe there is the following error:
File not found: C2.EXE
I don't find this file on my system! Could you send me it!
Where do I copy it to ?
Thank for your help,
Jeremy
Never heard of it.
I assume that you are using the builtin deployement wizard,
PDCMDLN.EXE
It sounds to me like you have included in the deployment script a
file named C2.exe. As you walk thru the wizard check watch for
part about included files. If this file is there, you can probably
uncheck it.
Is your project C2 by Any chance? If so, you have go under File->
create exe when you are in VB and create the executable.
Of course, it could be something truly funky. If this is the case, I
would suggest that you uninstall and re-install.
HTH
well if it was your application exe.. the PDW would ask you if you wanted it to compile it if it didn't exist or was out of date... so chances are c2.exe is somthing that is needed by a component you added.. or you added this file by mistake....
where in the PDW are you getting the error?
there is actually a file c2.exe that comes with Visual Studio in the vb directory..have no clue what it does..but you should re-install your VB...
Well, I'll be dippt in ****.
I guess it was something truly funky. Sorry.Quote:
Of course it's not really Visual Basic that does the optimization.
It's C2.EXE, the second pass of the C++ compiler. VB invokes this
program with different options to produce different optimizations.
You can see exactly how this process works and even change it
using a technique I first saw described in Advanced Visual Basic
5, the Mandelbrot Set, 1997. The author, Peter Morris, renames
the real C2.EXE to a different name and replaces it with his own
C2.EXE, which writes all the command lines it gets from VB to a
log file and then passes the same command line on to the real
renamed C2.EXE. By studying the log file, you can see exactly
what VB is doing when you set different optimizations. It turns
out that VB generates a temporary intermediate file (probably the
same kind generated by the first pass C1.EXE of the C++
compiler) and passes the name of that file to C2 for compilation.
There is nothing to do!!! VB doesn't work! It's impossible to compile my project! Always this error : "File no found : C2.EXE"!
I'm going to re-install VB on my computer.
Thank for all!
PS : I'll submit a post in this topic to say if it's work.
Just found this:
Soooo,Quote:
You should now start to see why this process might be slower than selecting p-code generation (which is an internal process and doesn’t use C2).
Under Project Properties, under the Compile Tab, select "Compile to P Code".
Then, go ahead and Compile. It would seem to work, since it doesn't use the C2.exe
-lou
There is no problems now! I've just re-install VB6.
Thnx everybody!