Re: Test for LoadString
31 Jan
2007
31 Jan
'07
4:06 a.m.
"Vitaly Lipatov" <lav(a)etersoft.ru> wrote:
Add tests for LoadString, completed on Windows.
As I see, 1. LoadStringA with buf = NULL segfaults in Windows, we have to produce ERR message instead 2. LoadStringA with buf = NULL, buflen = 0 returns -1 3. LoadStringW with some buf, buflen = 0 returns length of the resource string and puts some strange chars (F%O f.i.) in the buffer. 4. LoadStringW with buf = NULL, buflen!=0 returns 0 5. LoadStringA/W segfaults on negative buflen
Unfortunately the tests don't show whether last error value should be set in the case of a failure or not, please add that as well. -- Dmitry.
6891
Age (days ago)
6891
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov