[PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-21 Thread George Stephanos
As instructed, I added a few lines to the already written tests that confirm my claim. Part of the research of the registry merging project was to determine where the implementation is going to be written: advapi32, ntdll or the server itself. The server choice was dismissed since HKCR isn't

Re: [PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-20 Thread Juan Lang
Hi George, static void test_classesroot(void) { +static const WCHAR reg_user[] = { '\\','R','E','G','I','S','T','R','Y','\\','U','S','E','R' }; +static const WCHAR reg_machine[] = { '\\','R','E','G','I','S','T','R','Y','\\','M','A','C','H','I','N','E' }; Almost, but these have to

Re: [PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-19 Thread Dmitry Timoshkov
George Stephanos gaf.stepha...@gmail.com wrote: Ah, well, strcmp comes from the C library your compiler uses. wcsncmp can only come from msvcrt. When compiling for Wine, this can result in mixing C runtime libraries, and hilarity can result. ... Perhaps I could just use memcmp? Use

Re: [PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-19 Thread George Stephanos
On Sun, May 19, 2013 at 8:20 AM, Dmitry Timoshkov dmi...@baikal.ru wrote: George Stephanos gaf.stepha...@gmail.com wrote: Ah, well, strcmp comes from the C library your compiler uses. wcsncmp can only come from msvcrt. When compiling for Wine, this can result in mixing C runtime

[PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-19 Thread George Stephanos
As instructed, I added a few lines to the already written tests that confirm my claim. Part of the research of the registry merging project was to determine where the implementation is going to be written: advapi32, ntdll or the server itself. The server choice was dismissed since HKCR isn't

Re: [PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-19 Thread Dmitry Timoshkov
George Stephanos gaf.stepha...@gmail.com wrote: Well I do need the functions to be boundable by length, or else I'd need to do some copying. I'm going to post the updated patch with memcmp until a better solution comes up. Then CompareStringA/W would better work for you. -- Dmitry.

[PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-19 Thread George Stephanos
As instructed, I added a few lines to the already written tests that confirm my claim. Part of the research of the registry merging project was to determine where the implementation is going to be written: advapi32, ntdll or the server itself. The server choice was dismissed since HKCR isn't

Re: [PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-18 Thread Juan Lang
Hi George, (consider subscribing to wine-devel so your emails don't get stuck in moderation.) On Sat, May 11, 2013 at 7:43 AM, George Stephanos gaf.stepha...@gmail.comwrote: As instructed, I added a few lines to the already written tests that confirm my claim. Part of the research of the

Re: [PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-18 Thread George Stephanos
On Sat, May 18, 2013 at 11:57 PM, Juan Lang juan.l...@gmail.com wrote: Hi George, (consider subscribing to wine-devel so your emails don't get stuck in moderation.) Hmm but I am already! On Sat, May 11, 2013 at 7:43 AM, George Stephanos gaf.stepha...@gmail.com wrote: As instructed, I

Re: [PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-18 Thread Juan Lang
(consider subscribing to wine-devel so your emails don't get stuck in moderation.) Hmm but I am already! Ok, that's strange. Maybe I just got it late. I think Alexandre will object to using msvcrt functions (wcsncmp in this case), but I don't have a straightforward alternative yet.

Re: [PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-18 Thread George Stephanos
On Sun, May 19, 2013 at 2:24 AM, Juan Lang juan.l...@gmail.com wrote: (consider subscribing to wine-devel so your emails don't get stuck in moderation.) Hmm but I am already! Ok, that's strange. Maybe I just got it late. I think Alexandre will object to using msvcrt functions (wcsncmp

[PATCH] Tests that prove ntdll has no notion of HKCR.

2013-05-17 Thread George Stephanos
As instructed, I added a few lines to the already written tests that confirm my claim. Part of the research of the registry merging project was to determine where the implementation is going to be written: advapi32, ntdll or the server itself. The server choice was dismissed since HKCR isn't