[comp.sys.mac.programmer] Weird INIT/Excel problem

jwinterm@jarthur.Claremont.EDU (Jim Wintermyre) (04/20/91)

Hi.  I am working on an INIT/cdev, and it works with every program I've tried
so far, except for Microsoft Excel (what a surprise).  To try and find the
problem, I started removing bits of code, not patching certain traps I'd been
patching, etc.  Well, now I'm at the point where it is just an INIT, and it
does absolutely nothing.  All I do is call ShowINIT at startup, and then 
call DetachResource on the handle to the INIT.  That's it.  Would you believe
that it STILL doesn't work with Excel?!?  Here's what happens.  Usually,
the first time I compile it and put it in my System folder and reboot, it
works fine.  But after I reboot again, when I run Excel, the menus take
forever to draw and track. When I click on the menu title, an empty white
box appears, then the menu items appear, and finally the item the mouse is 
over becomes highlighted.  It's as if the MDEF is running in slow motion.  I
have no idea why it's doing this.  Plus, I'm running other INITs that I
wrote that use parts of the exact same code, and they run fine.  Has anyone
had any similar experiences with Excel?  This is really driving me nuts!

Jim
jwinterm@jarthur.claremont.edu