July 20, 2004

Off to MacHack nee ADHOC

Filed under: General Information — Ryan Wilcox @ 3:29 pm

I’m off to ADHOC for the rest of the week.

BTW: Any LaTeX wizards coming to ADHOC this year? I’d be interested in bending your ear, if you are. I’m doing my slides in TeX and I’m sure there are better ways to do things than how I’m doing things. email me

I must go now.

July 13, 2004

Flashback to Classic

Filed under: General Information — Ryan Wilcox @ 2:43 pm

Woh. For an upcoming application (technically, an add-on for an existing application) I have to do a Classic version and a separate Carbon version.

Now I just have to remember how to do a classic event loop and things like that… blahh.

July 7, 2004

When Is An AEDesc not an AEDesc?

Filed under: General Information — Ryan Wilcox @ 3:13 pm

Today I struggled with the problem where I was getting a -1704 (kAENotAEDesc) error from one of my AppleEvent functions. More specifically, AEPutKeyDesc. I traced back through my thing: yes, I had AECreateList()ed the proper list.

This problem was also funny, since this code works perfectly in one case, but not the case I was after.

This is basic AppleEvent stuff. I’ve been using AppleEvents for the last 6 years or so, so I can do the basics in my sleep. Everything was right. Except one little thing:

The AEDesc that I passed to AEPutKeyDesc was a list, and not a record.