1. Error code 425

Hello everybody out there.

Does anyone know what this means?


Error code 425
LOGIC ERROR: Held resource owner is not the actual owner.


Don Cole

new topic     » topic index » view message » categorize

2. Re: Error code 425

don cole wrote:
> 
> Hello everybody out there.
> 
> Does anyone know what this means?

No blink
 
 
> Error code 425
> LOGIC ERROR: Held resource owner is not the actual owner.

Your program is trying to track the usage of a resource for a specific owner,
but that resource is already owned by something else.

I know that this explanation is of no use at all, but that's the technical
reason for the error message. To help resolve it, I'd need to see the source code
and steps you did to get the message.

Can you reproduce it at will or does it happen at 'random'?

Are you using lots of bitmaps, fotns, direct drawing, etc...?

-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

new topic     » goto parent     » topic index » view message » categorize

3. Re: Error code 425

Hello Derek thanks for replying,

I found out it only errors with "Courier" not "Ariel".

So I'll just use Ariel.

Here's some of the code I can give you more if you need it.
fac=(pbMaxRight/count)--pb is progress bar

procedure printNumber(atom x) 
 setFont( {RGBWin,pixmap1,pixmap5}, "Arial", 12, Bold)
 setPenPos( pixmap1,80,85)
 setPenPos( pixmap5,80,85)
 wPrintf( pixmap1,"%d",{20})
 wPrintf( pixmap5,"%d",{20})
end procedure

procedure part2(atom x)--------------------the moving bar-----------------
bitBlt ( RGBWin,--dst red
                  0,--dstX across
                 10,-- dstY up and down
            pixmap1,-- src red
                  0,--srcX  
                  0,-- srcY
            mg:int(x),-- wide
          pbHeight,-- high
              SrcCopy   )-- rop 
end procedure

procedure Paint_mainWindow(integer self, integer event, sequence parms) 
    copyBlt ( RGBWin, 0, 10, pixmap5 )--the background bar
     for x=1 to count do
     part2(x*fac)--red
     printNumber(x)
     end for
end procedure
setHandler(RGBWin, w32HPaint,routine_id("Paint_mainWindow"))

I'm trying to put the percent complete in the middle of the progress bar like
  so.
Progress Bar>     ------------------------50%------------------------

Don Cole

new topic     » goto parent     » topic index » view message » categorize

4. Re: Error code 425

Hello Derek,

It seem you can't setFont(Bold) to a pixmap in windows 2000 anyway.

setFont{RGBWin,pixmap1,pixmap5}, "Courier"  12, Bold).


Don Cole

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu