Closed datee closed 6 years ago
... Oh - thats a fun one - same happens to me!
So i can fix it by manually adding a manifest resource to the app. :(
Wonder why it works from the build dir though
Can you update hxWidgets try this again? Should be fixed now as the manifest get linked into the exe by the compiler.
Wow, that was fast :) Ok, tried it.. but seem to get a linker error: LINK : fatal error LNK1158: cannot run 'mt.exe'
... which you didnt get before?
yes, this linker error came now because of the new fix. Before it compiled with no errors.
Hmm, so if you remove the new lines it compiles? What version of MSVC?
Yes i had the RC.exe error in the link too, but i fixed that. Oddly enough, i removed the line, recompiled and added it again; suddenly everything compiled ok. [Edit:] No the error came back.. so there is something strange
Strange, does it also fix the original issue?
But; commenting out this line fixes the issue: < !-- < flag value="/MANIFESTINPUT:${haxelib:hxWidgets}/hxWidgets.manifest" / > -->
It builds fine and keeps the theme!
really? That doesnt seem to make much sense... Does it have a manifest file inside the .exe (Using ResourceHacker for example)
ok, /MANIFEST:EMBED
embeds a default manifest... cool - will update
Right, should be fixed now in master - can you close this once you are happy and its working - thanks!
Cool! It seems to work, will test a bit on some others computers first!
Fixed!
[Windows] Building static and running the application from the build dir works fine, but if i copy it to a different location i loose the components theme, and it all looks like "windows 95" style.
Seems to be related to manifest not being properly set up or something?