From: SourceForge.net <no...@so...> - 2006-04-14 17:29:28
|
Bugs item #1250203, was opened at 2005-08-02 08:51 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1250203&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: w32api Group: Known bugs Status: Open Resolution: Remind Priority: 5 Submitted By: David Golub (david_golub) Assigned to: Earnie Boyd (earnie) Summary: CharNextExA and CharPrevExA Initial Comment: The CharNextExA and CharPrevExA should not have corresponding Unicode functions and there should be no general CharNextEx or CharPrevEx functions. This can be verified in the MSDN documentation and the SDK headers. ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2006-04-14 13:29 Message: Logged In: YES user_id=15438 Yes. ---------------------------------------------------------------------- Comment By: Dimitri Papadopoulos (papadopo) Date: 2006-04-14 12:56 Message: Logged In: YES user_id=52414 I suggest we simply delete from winbase.h all occurrences of: CharNextExW CharPrevExW and always define: CharNextEx CharPrevEx in terms of: CharNextExA CharPrevExA whether UNICODE or not. Do I proceed? ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2005-08-04 14:37 Message: Logged In: YES user_id=15438 I agree. The wide character functionality is implemented in the A version. So I will implement the change by s/CharNextExW/CharNextExA and leave the CharNextEx alias. Same for CharPrevEx. ---------------------------------------------------------------------- Comment By: David Golub (david_golub) Date: 2005-08-04 11:03 Message: Logged In: YES user_id=1296478 Looking at the exports from USER32.DLL by using DEPENDS.EXE from the SDK will reveal that there are no Unicode versions of these functions. ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2005-08-02 17:55 Message: Logged In: YES user_id=15438 Searching the net for CharNextEx and CharPrevEx I see that either they existed once upon a time or people are under the impression that they do. The fact of the use of the A on the names implies the intention for wide character support. The fix for this should be to substitute CharNextExW for CharNextExA and CharPrevExW for CharPrevExA. Earnie ---------------------------------------------------------------------- Comment By: David Golub (david_golub) Date: 2005-08-02 12:38 Message: Logged In: YES user_id=1296478 The MSDN documentation can be found at: http://msdn.microsoft.com/library/en- us/winui/winui/windowsuserinterface/resources/strings/stringre ference/stringfunctions/charnextexa.asp http://msdn.microsoft.com/library/en- us/winui/winui/windowsuserinterface/resources/strings/stringre ference/stringfunctions/charprevexa.asp ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2005-08-02 10:33 Message: Logged In: YES user_id=15438 Please provide the URL to MSDN documentation. _DO NOT_ provide information from the SDK. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1250203&group_id=2435 |