Ctrl+F5 works... but .exe does not!?!?
Hello fellas,
thanks in advance,
I got an issue while compiling my program in Microsoft Visual Studio VC 6.0. The Ctrl+F5 shortcut executes my program correctly, but when I double click the .exe file it does not run.
I''ve made the modifications that http://www.lighthouse3d.com/opengl/glut/index.php3?1
told me to do, which is:
In the "Entry-point symbol" textbox type "mainCRTStartup"
in windows app project.
Does anyone know how I solve it?
Thank you,
Baggio
Copy the .exe to the folder with all of your code in it. It must be dependent on something at loadtime and it thinks the things are in the debug/release folder when you click on the .exe.
It worked greatly... I''ll find out what it depends on...
Thank you, you were really helpful...
On the other hand, I''m getting another compilation bug... seems to be with the linker...
When I compile, I get the following error according to the following code line:
line:
(35) booleano dir, esq, pf, pa, lig;
(36) __time64_t tempo;
d:\labirinto\joy\paralela.h(36) : error C2146: syntax error : missing '';'' before identifier ''tempo''
d:\labirinto\joy\paralela.h(36) : error C2501: ''__time64_t'' : missing storage-class or type specifiers
d:\labirinto\joy\paralela.h(36) : error C2501: ''tempo'' : missing storage-class or type specifiers
Error executing cl.exe.
Could it be a linker error?
thank you again!
Thank you, you were really helpful...
On the other hand, I''m getting another compilation bug... seems to be with the linker...
When I compile, I get the following error according to the following code line:
line:
(35) booleano dir, esq, pf, pa, lig;
(36) __time64_t tempo;
d:\labirinto\joy\paralela.h(36) : error C2146: syntax error : missing '';'' before identifier ''tempo''
d:\labirinto\joy\paralela.h(36) : error C2501: ''__time64_t'' : missing storage-class or type specifiers
d:\labirinto\joy\paralela.h(36) : error C2501: ''tempo'' : missing storage-class or type specifiers
Error executing cl.exe.
Could it be a linker error?
thank you again!
It''s not a linker error - it''s a compiler error. It simply says that the compiler doesn''t know what "__time64_t" is. Maybe you have to #include some header file.
they look like compiler errors not linking errors... i suggest looking at the lines the errors point to and the lines around them.
Get busy livin'' or get busy dyin''... - Shawshank Redemption
If a man is talking in the forest, and no woman is around to hear him, is he still wrong? - Unknown
Fulcrum
Get busy livin'' or get busy dyin''... - Shawshank Redemption
If a man is talking in the forest, and no woman is around to hear him, is he still wrong? - Unknown
Fulcrum
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement