i'm trying to read a registry key's value but codeblocks gives to me those errors:
|17|error: invalid conversion from 'int' to 'LPDWORD {aka long unsigned int*}' [-fpermissive]|
and
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\..\include\winreg.h|97|error: initializing argument 4 of 'LONG RegQueryValueExA(HKEY, LPCSTR, LPDWORD, LPDWORD, LPBYTE, LPDWORD)' [-fpermissive]|