Reputation: 1605
In the Task Manager there is a column that shows a description of the program running. Looking at Process Explorer there is also a field for the Company Name of the company that produced the program.
How can I programatically set these fields using C/C++, and specifically not .NET, so that my program can show something useful in them?
Upvotes: 0
Views: 2520
Reputation: 283684
You mean you want these set while building your program, or you want to write a program that changes these properties of an arbitrary binary file?
In the first case, you pass a VERSIONINFO
resource to the resource compiler to be embedded into your binary.
In the second case, you need to use the Resource Editor APIs (and also understand the internal format of VERSIONINFO
resources. Or use the Resource Compiler to make a new `VERSIONINFO`` resource and use the Resource APIs to swap it.)
Upvotes: 3