1. Need Help W/GUI4Neil

------=_NextPart_000_0013_01BF6359.A5D370C0
        boundary="----=_NextPart_001_0014_01BF6359.A5DC9880"


------=_NextPart_001_0014_01BF6359.A5DC9880
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

First, I'd like to apologize for sending the .ZIP file.  I'm a bit lazy =
to put a zip file up for a one time thing.

Ok, now my problem.  I'm adding a new control called a popup menu (the =
kind you get on the Win95 desktop when you right click).  I'm getting =
memory errors and a file called CW.ERR are being written.  THAT FILE =
DOES NOT HELP ME, it is just a bunch of machine codes that I have no =
idea what they mean.  Could somebody please download the .zip file and =
look at GUI4NEIL.E in the drawInRAM() function?  Other files that are =
included are a couple of bitmaps and a few font files.  To see what I =
mean, or to test your tweaks, run GUI4NEIL.EX.  The stuff going on in =
drawInRAM() is doing what its name is, drawing in RAM.  The code should =
be very easy to follow, and the parts that are under suspicion are:

.
.
.
if buf[1]=3DPopupMenu then (the parts w/display_image(), draw_line(), =
etc.)
.
.
.
if buf[1]=3DPopupMenuItem then
.
.
.
end function

I'm going to be working on this still, but if someone figures out my =
mistakes, please EMail me and let me know.  Hopefully I'll figure it out =
on my own.

Mike Hurley
Web: http://members.xoom.com/MikesEuWeb/
EMail: mikehurley2 at netzero.net

------=_NextPart_001_0014_01BF6359.A5DC9880
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>First, I'd like to apologize for =
sending the=20
.ZIP file.&nbsp; I'm a bit lazy to put a zip file up for a one time=20
thing.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Ok, now my problem.&nbsp; I'm adding =
a new=20
control called a popup menu (the kind you get on the Win95 desktop when =
you=20
right click).&nbsp; I'm getting memory errors and a file called CW.ERR =
are being=20
written.&nbsp; THAT FILE DOES NOT HELP ME, it is just a bunch of machine =
codes=20
that I have no idea what they mean.&nbsp; Could somebody please download =
the=20
.zip file and look at GUI4NEIL.E in the drawInRAM() function?&nbsp; =
Other files=20
that are included are a couple of bitmaps and a few font files.&nbsp; To =
see=20
what I mean, or to test your tweaks, run GUI4NEIL.EX.&nbsp; The stuff =
going on=20
in drawInRAM() is doing what its name is, drawing in RAM.&nbsp; The code =
should=20
be very easy to follow, and the parts that are under suspicion =
are:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>.</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>.</FONT></DIV>
<DIV><FONT size=3D2>.</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>if buf[1]=3DPopupMenu then (the =
parts=20
w/display_image(), draw_line(), etc.)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>if buf[1]=3DPopupMenuItem =
then</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>end function</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I'm going to be working on this =
still, but if=20
someone figures out my mistakes, please EMail me and let me know.&nbsp;=20
Hopefully I'll figure it out on my own.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Mike Hurley</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Web: <A=20
sEuWeb/</A></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>EMail: <A=20

------=_NextPart_001_0014_01BF6359.A5DC9880--

------=_NextPart_000_0013_01BF6359.A5D370C0
        name="g4n.zip"

new topic     » topic index » view message » categorize

2. Re: Need Help W/GUI4Neil

Mike,

I'm not going to try to figure out the error but here are some
of my experience on CW.ERRs while using neil.

1. CW stands for causeway (FYI)
2. These are usually memory writing errors caused by NEIL.
3. They seem to happen when blitting to virtual screens.
4. There seems to be no explainable reason for some of them.
5. I sometimes get around them in the following ways.
   A. Rewrite a section of code in a slightly different way
   B. Break down a statement or two into multiple statements.
      (similar to A)
   C. Comment the offending code out, work on something else
      for a while and then go back and de-comment them and
      everything is (may be) fine.
6. Ask Pete for help. ;)

This may not be any help but I hope it is.

later,
Lewis Townsend
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

3. Re: Need Help W/GUI4Neil

Mike

   That equal function looks strange is that correct ???

   if equal(0,memory[id])=0 then

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

Search



Quick Links

User menu

Not signed in.

Misc Menu