annotate win/dwtest.rc @ 2962:e6072eb914ce

C++: Step 4 of the std::string transition. Remove C style string lambda support due to limitations of std::function. std::function due to its template definition cannot differentiate parameters. This causes std::function parameters to be indistiguishable despite different signatures. Use the C style function pointer instead if you want C style strings, not lambdas. Convert KeyPress lambda to use std::string, this was missed in the last commit.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 25 Feb 2023 04:25:21 +0000
parents 43c6ecfc598a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1855
72a75442c51d Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 #include "winuser.h"
1865
43c6ecfc598a It seems WIN64 is defined in 32-bit mode using MinGW... so switch
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 1855
diff changeset
2 #ifdef DW64
1855
72a75442c51d Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3 1 RT_MANIFEST dwtest.exe.x64.manifest
72a75442c51d Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4 #else
72a75442c51d Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5 1 RT_MANIFEST dwtest.exe.x86.manifest
72a75442c51d Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6 #endif