Hi,
> I can't use a LPCSTR, cause:
>
> BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPCSTR lpSubBlock,
>LPVOID *lplpBuffer, UINT *puLen )
>
> lplpBuffer points to a place in pBlock where the value is. This value is
> in most cases a UNICODE string. This string has to b
Am Donnerstag, 25. August 2005 13:45 schrieb Paul Vriens:
> Hi,
>
> I've finally nailed the last (?) bugs in version.dll. The attached patch
> shows how. There is however a warning during compile and I have no clue
> (still learning C :-) ) how to fix that:
>
> info.c: In function `VerQueryValueA':
Hi,
I've finally nailed the last (?) bugs in version.dll. The attached patch
shows how. There is however a warning during compile and I have no clue
(still learning C :-) ) how to fix that:
info.c: In function `VerQueryValueA':
info.c:754: warning: pointer of type `void *' used in arithmetic
info