| |

VerySource

 Forgot password?
 Register
Search
View: 980|Reply: 6

VC compilation settings

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-27 20:00:02
| Show all posts |Read mode
A program, source file and executable file that I downloaded from the Internet.
The source folder has .dsw, .dsp, etc., but it has class _Main in the file: ...
And _Main :: OnInitDialog has functions like this. [I guess it's done by VC, but it's not win32, he wrote it very low-level.]
It can be opened with VC6.0, but it failed to compile at the beginning. Later, I updated the SDK to compile.
But it runs a long way from the executable I downloaded. And the sizes vary a lot.
I compiled it at 800k and downloaded only 288k.
Is it related to release?
The size is not a problem, I want to increase the speed, or just run it after compiling.
That brother and sister can tell me how to compile so fast. . .
Can other compilers compile this file for me? Are their SDKs common? Need to set it up too?

Also ask how the VC setting Release is not available, and how to set it specifically.
Thank you very much ~~
Reply

Use magic Report

0

Threads

22

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-2-22 09:30:01
| Show all posts
If it is released, it will be much smaller, reducing the debugging information of the debug version and optimizing it.
Release compilation failed, what error is reported?
Reply

Use magic Report

0

Threads

9

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 Unknown

Post time: 2020-2-22 19:30:01
| Show all posts
Note the settings of some dynamic libraries, use the release version of the library

Then compile the program with release
Reply

Use magic Report

0

Threads

1

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-2-27 21:25:38
| Show all posts
I have encountered the same problem as the landlord. I originally used the VC ++ 6.0l green version, which ran very slowly after compilation. Later, the official version of VC6.0 was installed.
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-7 23:30:01
| Show all posts
There may also be conditions such as define. You should pay attention to whether there is conditional compilation in the program, and whether you set it in the VC environment.
Reply

Use magic Report

0

Threads

59

Posts

43.00

Credits

Newbie

Rank: 1

Credits
43.00

 China

Post time: 2020-3-8 10:45:01
| Show all posts
File size has nothing to do with running speed
Reply

Use magic Report

0

Threads

32

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 Invalid IP Address

Post time: 2020-3-8 11:30:02
| Show all posts
It should be fine to use release compilation. If the compilation fails, you need to debug.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list