Welcome, Guest. Please login or register.

Author Topic: Intuition trashing stack?  (Read 1453 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AMC258Topic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • http://www.AMC258.com/
Intuition trashing stack?
« on: December 04, 2007, 03:02:04 AM »
I have intuition.library 40.85.

When I create some gadgets and then open a window with the gadgets I have no problem.
When I open a window, create some gadgets, and then AddGList them to the window, I get stack trashing.
I spent the last four days trying to figure out what I'm doing wrong, and I just now compiled a demo program that came with the compiler (FPC) and it has the same problem.  As far as I can tell, the source code (all the way down to the
Code: [Select]
MOVEA.L _IntuitionBase,A6
JSR -438(A6)
is all correct!
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker