btcd icon indicating copy to clipboard operation
btcd copied to clipboard

Btcd.exe leaves the description field blank when shown in Process Explorer(WinXP 32 SP3).

Open typeless opened this issue 12 years ago • 6 comments

typeless avatar Nov 28 '13 02:11 typeless

Go programs don't have the standard VERSIONINFO resource that Visual Studio projects have which is what provides that information. There are ways to get this information into the executable via external utilities, but honestly it will be extremely low priority as it doesn't have any bearing on the actual functionality of the application.

I'll leave the ticket open as something to tackle when the much higher priority issues are resolved.

davecgh avatar Nov 28 '13 18:11 davecgh

I thought it's just something missing in configuration or whatever. Such being the case, fully appreciated.

typeless avatar Nov 29 '13 03:11 typeless

more info: https://groups.google.com/forum/#!topic/golang-nuts/mpO30H9IA0I

dajohi avatar Mar 20 '14 23:03 dajohi

I have a local resource.rc file which handles this, but the issue is actually building the .syso. We obviously don't want to require mingw + windres to build the executable on Windows.

Also, the .rc file has version information in it, so ideally it would be populated at build time from the information in version.go which would require some type of pre-processing step.

I suspect we can incorporate this into our MSI build process without much hassle, but I don't forsee this working for users building from source without them going through extra hoops.

davecgh avatar Mar 21 '14 02:03 davecgh

Anyone know if this is still an issue? Seeing as this is tagged as windows xp/there's no mentions since I'd guess this got fixed in a newer version but have no way to verify. @davecgh any ideas?

jakesylvestre avatar Aug 28 '20 06:08 jakesylvestre

It's still the case, but realistically it's been 7 years and nobody really seems to care too much.

That said, there is tool for this nowadays that could be used here. It generates the necessary VERSIONINFO resource information in a .syso COFF file that the Go linker will automatically link into the binary if it's alongside the file that contains the main func thus producing the desired result.

davecgh avatar Aug 28 '20 06:08 davecgh