J
Jim King
Given a macro which is a string literal. It cannot be changed since it
comes from some library.
#define ID_VERSION_STRING "5.3.3.98" // this macro cannot be
changed
I want a macro which is expanded as the wide character counterpart of
the string above.
#define IDW_VERSION_STRING ...ID_VERSION_STRING...
// make IDW_VERSION_STRING L"5.3.3.98"
Note: if ID_VERSION_STRING changes, I hope that IDW_VERSION_STRING
changes correspondingly.
How the definition of macro IDW_VERSION_STRING looks like?
Thanks.
comes from some library.
#define ID_VERSION_STRING "5.3.3.98" // this macro cannot be
changed
I want a macro which is expanded as the wide character counterpart of
the string above.
#define IDW_VERSION_STRING ...ID_VERSION_STRING...
// make IDW_VERSION_STRING L"5.3.3.98"
Note: if ID_VERSION_STRING changes, I hope that IDW_VERSION_STRING
changes correspondingly.
How the definition of macro IDW_VERSION_STRING looks like?
Thanks.