Re: Need some help with a patch for version.dll

2005-08-25 Thread Stefan Dösinger
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

Re: Need some help with a patch for version.dll

2005-08-25 Thread Stefan Dösinger
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':

Need some help with a patch for version.dll

2005-08-25 Thread 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': info.c:754: warning: pointer of type `void *' used in arithmetic info