Antonio: BUG in Treg32?

Antonio: BUG in Treg32?

Postby byte-one » Mon Jul 12, 2010 10:00 pm

With the new FWH 10/6 and bcc582 the programm hangs with a call to treg32:getbinary() and uses 50% from resources. I change the code to the following:

Code: Select all  Expand view  RUN
METHOD GetBinary( cSubKey ) CLASS TReg32

   local cBuffer:="", nLen := 0 , nType := 0

   ::nError := RegQueryValueEx( ::nHandle, cSubkey, @nType, @cBuffer, @nLen )
   if ::nError != ERROR_SUCCESS
    cBuffer := ""
   endif

return cBuffer
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Antonio: BUG in Treg32?

Postby byte-one » Fri Aug 06, 2010 11:04 am

Antonio, have you seen this?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Antonio: BUG in Treg32?

Postby Daniel Garcia-Gil » Mon Aug 16, 2010 10:42 am

byte-one

Already changed to next version

Thanks
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 74 guests