Forum unknown
· Programming
Requester Paranoia
5 messages in this thread
I'm having some problems with requesters, and I'm running out of people to
ask for advice… could you give a try? I'm designing a filename requester
with several gadgets including a scrolling list of filenames.
Because I'm not sure that the application program will have a large enough
window to hold this critter, I'm designing a function to open a window,
then open the requester, closing the window after the request has been
filled. Anyway, none of this info is probably relevant.
The problem is that my machine crashes with Guru # 00000004.00000000
(illegal instruction?) immediately after Request() starts to do its
rendering. I've tried all the gadgets separately and they all work. I'm
drawing within the limits of the window, and the program halts at different
stages of rendering, always after the window is open.
I've checked all addresses, etc. hundreds (literally) of times over. This
has been bugging me for close to three weeks now! I'm wondering if you've
had any situations similar to this. Please let me know if you have ANY
ideas at all. Thanks. >>> brent
You might try ditch9)~ZEUester altogether and just using the window you
opened for it. Thats what I do, because of problems I had long ago with
requesters. The biggest problem with using a window instead of a requester
is that the other gadgets and menu for the "requesting" window aren't
turned off unless you explicitly do it yourself. Also, the window won't
allow you to initialize the box to a color, so if you fill the window with
color there is a bit of a flash. Good luck-
You might try ditch9)~ZEUester altogether and just using the window you
opened for it. Thats what I do, because of problems I had long ago with
requesters. The biggest problem with using a window instead of a requester
is that the other gadgets and menu for the "requesting" window aren't
turned off unless you explicitly do it yourself. Also, the window won't
allow you to initialize the box to a color, so if you fill the window with
color there is a bit of a flash. Good luck-
what is your STACK situation, i had a different but similar guru
(00000004.000myprogram's addr) and it turned out i was crunching my stack.
your problem could be an uninitialized pointer (or one set to 0) but i'd
suspect stack first. try your program again after giving an absurd
incantation like STACK 100000 or so. course, if you are doing an infinite
recurse, it would just take longer to get the same error… good luck.
sdp
what is your STACK situation, i had a different but similar guru
(00000004.000myprogram's addr) and it turned out i was crunching my stack.
your problem could be an uninitialized pointer (or one set to 0) but i'd
suspect stack first. try your program again after giving an absurd
incantation like STACK 100000 or so. course, if you are doing an infinite
recurse, it would just take longer to get the same error… good luck.
sdp