Search found 21 matches: regenumvalue

Return to advanced search

Re: RegEnumValue() return error 234

... in my windows register? Try to put: RegOpenKey( HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows\CurrentVersion\Run", @hKey )? RegEnumValue( hKey, n, @cName, @uValue ) in regenum.prg to see if return 0 or 234 compiled with MSVC .
by marzio
Mon Oct 14, 2019 7:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue() return error 234
Replies: 7
Views: 1509

Re: RegEnumValue() return error 234

...            "Software\Microsoft\Windows\CurrentVersion\Run", @hKey )      while RegEnumValue( hKey, n++, @cName, @uValue ) == ERROR_SUCCESS      MsgInfo( cName )      MsgInfo( uValue ...
by Antonio Linares
Sun Oct 13, 2019 8:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue() return error 234
Replies: 7
Views: 1509

Re: RegEnumValue() return error 234

they are firewall informations like this long 150 to 170 characters obtained with compiling the example with bcc72: v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=6|Profile=Domain|App=G:\winclip\applicazioni\contab\contab.exe|Name=contab|Desc=contab|Defer=User| this is the key: RegOpenKey( HKEY_...
by marzio
Fri Oct 11, 2019 1:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue() return error 234
Replies: 7
Views: 1509

Re: RegEnumValue() return error 234

The value that you are trying to retrieve is larger than 1024 bytes ?
by Antonio Linares
Fri Oct 11, 2019 10:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue() return error 234
Replies: 7
Views: 1509

Re: RegEnumValue() return error 234

... lpData, lpcbData := 2048   RegOpenKey( HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows\CurrentVersion\Run", @hKey )   while RegEnumValue( hKey, n++, @cName, @uValue,,, @lpData, @lpcbData ) == ERROR_SUCCESS      MsgInfo( cName )      MsgInfo( uValue )  ...
by marzio
Fri Oct 11, 2019 9:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue() return error 234
Replies: 7
Views: 1509

Re: RegEnumValue() return error 234

https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regenumvaluea Return Value If the function succeeds, the return value is ERROR_SUCCESS. If the function fails, the return value is a system error code. If there are no more values available, the function returns ERROR_N...
by Antonio Linares
Thu Oct 10, 2019 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue() return error 234
Replies: 7
Views: 1509

RegEnumValue() return error 234

Hi at all.
i have inserted the sample regenum.prg in a my program compiled with borland 7.2 and all is ok (RegEnumValue() return 0)
if i compile the same program with visual c++ 2015 RegEnumValue() return 234 instead of 0 and doesn't work.
any idea?

thanks, marzio
by marzio
Wed Oct 09, 2019 9:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue() return error 234
Replies: 7
Views: 1509

Re: REGENUMKEY funciona bien ?

funcionando . :D
Al final la funcion a usar era REGENUMValue .
Gracias.

pd. Estaría bien añadir un metodo a la clase Treg32().

algo como :
METHOD GetNumValue( nIndex, cRefValue ) INLINE RegNumValue( ::nHandle, nindex-1 , cRefValue )
by mastintin
Fri Jul 10, 2015 3:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: REGENUMKEY funciona bien ?
Replies: 2
Views: 525

Re: Tablet and form style for Windows 8 (desktop ver.)

Hello Antonio,
thank you. I have admin rights.
RegEnumValue reports all the values fine but
RegQueryValue( hKey, "ScrollHeight" , @uValue )
returns "Ff".
Best regards,
Otto
by Otto
Fri Mar 08, 2013 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tablet and form style for Windows 8 (desktop ver.)
Replies: 80
Views: 24618

Re: Tablet and form style for Windows 8 (desktop ver.)

... But RegSetValue( hKey, "ScrollHeightn" ,-500 ) RegQueryValue( hKey, "ScrollHeight" , @uValue ) in my case does not work. RegEnumValue is working fine. Do you know a solution. Best regards, Otto #define  HKEY_CURRENT_USER       2147483649#define  ERROR_SUCCESS ...
by Otto
Thu Mar 07, 2013 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tablet and form style for Windows 8 (desktop ver.)
Replies: 80
Views: 24618

Re: Test for a .Pdf reader

... n := 0 LOCAL aKeys := {} #define HKEY_LOCAL_MACHINE 2147483650 RegOpenKey( HKEY_LOCAL_MACHINE, "SOFTWARE\Classes\.pdf", @hKey ) WHILE RegEnumValue( hKey, n++, @cName, @uValue ) = 0 aAdd( aKeys, { cName, uValue } ) ENDDO RegCloseKey( hKey ) IF ( n := aScan( aKeys, { |x| x[ 1 ] = "Content ...
by ADutheil
Wed Nov 09, 2011 11:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test for a .Pdf reader
Replies: 11
Views: 3357

New FTDN October/Octubre 2011 (FWH 11.10)

* Fix: functions ReGetCharFormat() and RegGetSelection() incorrectly used hb_storvnl() instead of hb_stornl() * Fix: functions RegEnumKey() and RegEnumValue() incorrectly used hb_storvc() and hb_storvnl() instead of hb_storc() and hb_stornl() * Fix: functions RegQueryValueEx() and RegCreateKey() ...
by Antonio Linares
Wed Nov 02, 2011 1:24 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2011 (FWH 11.10)
Replies: 3
Views: 4226

Api-Function

Antonio, I had a look in the Internet and found this : RegEnumValue The RegEnumValue function enumerates the values for the specified open registry key. The function copies one indexed value name and data block for the key each time it is called. LONG ...
by ukoenig
Thu Sep 25, 2008 8:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue - Win98
Replies: 3
Views: 870

Davide,

If you review RegEnumValue() documentation:
http://msdn.microsoft.com/en-us/library/ms724865(VS.85).aspx

you will see that it is not supported in Win98:
"Requires Windows Vista, Windows XP, or Windows 2000 Professional."
by Antonio Linares
Thu Sep 25, 2008 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RegEnumValue - Win98
Replies: 3
Views: 870
Next

Return to advanced search