🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pilot.programmer.codewarrior
Article #16

Re: HELP! "not a label object" error message

#16
From: Ben Combee
Date: Thu, 03 Apr 2003 17:20
20 lines
2198 bytes
In article <d1b77224.0304030832.24c726db@posting.google.com>, 
sashley@strattonpress.com says...
> The problem arises when I try to run the program on any of the Palm OS
> v. 4 roms. When I click a repeating button on one of my forms, the
> emulator pops up the error message dialog box and reports a "not a
> label object" error. I tried putting a breakpoint on the
> "switch(pEvent->eType)" line for the relevant form, but the error is
> generated before the program reaches that line. If I hit continue, the
> dialog box closes, and the program seems to continue to run.

This error comes from FrmCopyLabel -- its an error that happens if you 
try to copy a label into a form object that isn't a label.

If you're seeing this and you know you have a real label, then you might 
be modifying some other part of the form and overflowing an internal 
control length -- however, the 4.0 debug ROMs should detect that too.
-- 
Ben Combee <bcombee@metrowerks.com>
CodeWarrior for Palm OS technical lead
Get help at http://palmoswerks.com/
Technical Details
Message-ID: <MPG.18f62934361dfc6e989a85@news.earthlink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
References: <d1b77224.0304030832.24c726db@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d41,2d577dc25e1dd9b8
X-Google-Attributes: gid109d41,public
X-Google-Thread: 10baa0,2d577dc25e1dd9b8
X-Google-Attributes: gid10baa0,public
X-Google-ArrivalTime: 2003-04-03 09:19:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
From: Ben Combee <combee@techwood.org>
Newsgroups: pilot.programmer.codewarrior,codewarrior.palm
Subject: Re: HELP! "not a label object" error message
Message-ID: <MPG.18f62934361dfc6e989a85@news.earthlink.net>
References: <d1b77224.0304030832.24c726db@posting.google.com>
Organization: Techwood Broadcasting Foundation
X-Newsreader: MicroPlanet Gravity v2.60
Lines: 20
Date: Thu, 03 Apr 2003 17:20:05 GMT
NNTP-Posting-Host: 63.246.177.179
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 1049390405 63.246.177.179 (Thu, 03 Apr 2003 09:20:05 PST)
NNTP-Posting-Date: Thu, 03 Apr 2003 09:20:05 PST