1. Help with Win32Lib Errors
- Posted by Ferlin Scarborough <ferlin1 at bellsouth.net> Jul 26, 2005
- 543 views
I am working on a project that is using Win32Lib, when I run the application, Win32Lib gives me an error message like this: Win32Lib AppWindow - Error Warning Error code 425 LOGIC ERROR: Held resource owner is not the actual owner Press [YES] to continue, [NO] to ignore repeats, or [CANCEL] to quit. Win32Lib V0.60.6 19-Sep-2004 When I press the Cancel button the project bombs and Euphoria says: w32msgs.e:112 in procedure fShowError() attemp to divide by 0 I'm not sure, but I think this is occuring in a Resize event that is fired when the window is opened, because, I can press Yes through a couple of these messages, and the project runs, if I click the Maximize button, it will hit this error again a couple of times, then resize the window fine. ANY Help would be highly appreciated. Thanks in advance. Later. Ferlin Scarborough Learn To Program Games in Free Courses Now contains an Introduction To Euphoria Programming Course At http://www.gameuniv.net My Euphoria Home Page http://mywebpage.netscape.com/shadetreesoft My Free Games Page http://freewebtown.com/ferlin
2. Re: Help with Win32Lib Errors
- Posted by Ferlin Scarborough <ferlin1 at bellsouth.net> Jul 26, 2005
- 519 views
- Last edited Jul 27, 2005
Ferlin Scarborough wrote: > > I am working on a project that is using Win32Lib, when I run the application, > Win32Lib > gives me an error message like this: > > Win32Lib AppWindow - Error Warning > > Error code 425 > LOGIC ERROR: Held resource owner is not the actual owner > > Press > [YES] to continue, > [NO] to ignore repeats, or > [CANCEL] to quit. > > Win32Lib V0.60.6 19-Sep-2004 > > When I press the Cancel button the project bombs and Euphoria says: > > w32msgs.e:112 in procedure fShowError() > attemp to divide by 0 > > I'm not sure, but I think this is occuring in a Resize event that is fired > when the > window is opened, because, I can press Yes through a couple of these messages, > and > the project runs, if I click the Maximize button, it will hit this error again > a couple > of times, then resize the window fine. > If I do a trace(1) on my project, it seems to pop up this message the first time while it is in w32Dll.ew at line 228 which reads return lRC The trace shows the following variables and values: lRC = 1 funcid = 70F parms = {525258} I hope this will help, this is driving me batty. Again, thanks in advance. Later. Ferlin Scarborough Learn To Program Games in Free Courses Now contains an Introduction To Euphoria Programming Course At http://www.gameuniv.net My Euphoria Home Page http://mywebpage.netscape.com/shadetreesoft My Free Games Page http://freewebtown.com/ferlin
3. Re: Help with Win32Lib Errors
- Posted by Ferlin Scarborough <ferlin1 at bellsouth.net> Jul 29, 2005
- 513 views
Ferlin Scarborough wrote: > > Ferlin Scarborough wrote: > > > > I am working on a project that is using Win32Lib, when I run the > > application, Win32Lib > > gives me an error message like this: > > > > Win32Lib AppWindow - Error Warning > > > > Error code 425 > > LOGIC ERROR: Held resource owner is not the actual owner > > > > Press > > [YES] to continue, > > [NO] to ignore repeats, or > > [CANCEL] to quit. > > > > Win32Lib V0.60.6 19-Sep-2004 > > > > When I press the Cancel button the project bombs and Euphoria says: > > > > w32msgs.e:112 in procedure fShowError() > > attemp to divide by 0 > > > > I'm not sure, but I think this is occuring in a Resize event that is fired > > when the > > window is opened, because, I can press Yes through a couple of these > > messages, and > > the project runs, if I click the Maximize button, it will hit this error > > again a couple > > of times, then resize the window fine. > > > > If I do a trace(1) on my project, it seems to pop up this message the first > time while > it is in w32Dll.ew at line 228 which reads return lRC > > The trace shows the following variables and values: > > lRC = 1 > funcid = 70F > parms = {525258} > > I hope this will help, this is driving me batty. > > Again, thanks in advance. > > Later. > > Ferlin Scarborough > > Learn To Program Games in Free Courses > Now contains an Introduction To Euphoria Programming Course At > <a href="http://www.gameuniv.net">http://www.gameuniv.net</a> > > My Euphoria Home Page > <a > href="http://mywebpage.netscape.com/shadetreesoft">http://mywebpage.netscape.com/shadetreesoft</a> > > My Free Games Page > <a href="http://freewebtown.com/ferlin">http://freewebtown.com/ferlin</a> > I guess I have come across an error that the powers that be, have no idea or clue as to what it is, since no one seems to have replied to my call for help. It is driving me crazy trying to figure it out. I have noticed by playing around that the project seems to work fine, it just keeps poping up this Win32Lib error, even when I click on a menu item or do anything in the program, it pops up the window a couple of times, and then goes and does what it is I am trying to do in the program. Getting very frustrated here. Later. Ferlin Scarborough Learn To Program Games in Free Courses Now contains an Introduction To Euphoria Programming Course At http://www.gameuniv.net My Euphoria Home Page http://mywebpage.netscape.com/shadetreesoft My Free Games Page http://freewebtown.com/ferlin
4. Re: Help with Win32Lib Errors
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 29, 2005
- 512 views
There is not enough information to help you yet. Can you trim down the program to the smallest version that still exhibits this behavior and send it to me. I'll have something to work with then. That error message indicates that something very weird has happened, so I need more to go on. -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell
5. Re: Help with Win32Lib Errors
- Posted by Ferlin Scarborough <ferlin1 at bellsouth.net> Jul 29, 2005
- 533 views
Derek Parnell wrote: > > There is not enough information to help you yet. > > Can you trim down the program to the smallest version that still exhibits this > behavior > and send it to me. I'll have something to work with then. > > That error message indicates that something very weird has happened, so I need > more > to go on. > > -- > Derek Parnell > Melbourne, Australia > Skype name: derek.j.parnell > Derek, I appreciate the offer, and I will do that if I need to. I was looking it over again late last night, and an include file I am using, I noticed that it has some of the old onClick type routines in it. I think I will attempt to change those to use the invokehandler and sethandler stuff from the Win32Lib, maybe it is something to do with that. I have changed these things in the main project, and changed all the create commands to createEx and added the extra parameter to the end. Let me see what change the old onXXX stuff in the include file will do and then get back to you. Again, thanks. Later. Ferlin Scarborough Learn To Program Games in Free Courses Now contains an Introduction To Euphoria Programming Course At http://www.gameuniv.net My Euphoria Home Page http://mywebpage.netscape.com/shadetreesoft My Free Games Page http://freewebtown.com/ferlin