| |

VerySource

 Forgot password?
 Register
Search
View: 772|Reply: 2

problems with wtl new construction

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-31 20:20:01
| Show all posts |Read mode
Use VS to create a new WTL dialog project. After the build is completed, the following two errors will occur directly. What are the reasons and how to solve them?
CVTRES: fatal error CVT1100: duplicate resource. Type: MANIFEST, name: 1, language: 0x0409
LINK: fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 United States

Post time: 2020-3-15 14:00:01
| Show all posts
Find the rc file corresponding to the project, and
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST
Just look at this sentence.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-26 23:45:01
| Show all posts
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST


There are two places in this sentence, one is
BEGIN
    "CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST ""res\\\\WTLClock2.exe.manifest""\r\n"
    "\0"
END
Another place is:
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "res\\WTLClock2.exe.manifest"


I just comment out the second sentence,
But I don’t really understand
I just know that this can be done
And my own new project will not have this problem, I use WTL8+Vista, this problem will occur when using someone else’s Sample Code
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