win icon indicating copy to clipboard operation
win copied to clipboard

TTM_ADDTOOL failed

Open sowhyim opened this issue 5 years ago • 3 comments

why it return TTM_ADDTOOL failed when I SendMessage to system

sowhyim avatar Mar 12 '19 08:03 sowhyim

You need a manifest file: https://github.com/lxn/walk#create-manifest-testmanifest https://github.com/lxn/walk#application-manifest-files

lxn avatar Mar 12 '19 15:03 lxn

oh,thanks!,it's working!

sowhyim avatar Mar 13 '19 03:03 sowhyim

I have the same issue. But there is something that I do not understand. It only happens when I compile the exe on my laptop (running windows 10 Ultimate). It does not happen when I compile the exe on my desktop (running windows 10 pro). It is exactly the same code (I had put the code on dropbox to test that). The compiled exe runs fine on the laptop when it was compiled on my desktop machine. So whether the error occurs is dependent on where it was compiled and not where it is running. That is the thing I fail to grasp.

C:\Build\Go_tools\rsrc.exe -manifest accounting.manifest -ico accounting.ico -o accounting.syso
go build -ldflags -H=windowsgui

StephanVerbeeck avatar Apr 02 '19 07:04 StephanVerbeeck