This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygport and auto-manifestize compatibility manifest


Corinna Vinschen writes:
>   - Call the helper application, which basically works like this:
>
>       LoadLibrary("dummy.exe");
>       FindResource(CREATEPROCESS_MANIFEST_RESOURCE_ID, RT_MANIFEST);
>       LoadResource(...)
>       LockResource(...)
>       BeginUpdateResource("tcsh.exe")
>       UpdateResource(RT_MANIFEST,CREATEPROCESS_MANIFEST_RESOURCE_ID,...)
>       EndUpdateResource(...)
>
>    - The resulting executable actually worked and was treated as a
>      Windows 8.1 executable.
>
>    If this hack is done after stripping, but before adding the
>    .gnu_debuglink section, it could run automatically and all newly
>    produced executables would be *finally* compatible with latest
>    Windows versions.

Is that something that could be run during autorebase or bolted on to
peflags perhaps?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]