At 01:37 AM 4/2/2004, you wrote:
Hi,

Previously, I've used CW v8 and everything were fine
with PalmOS 4.1 and 5.x

After installation CW v9.0 I've got problems after compilation.

PalmOS 4.1 shows:
"Application just executed an illegal or unknown machine language
instruction.
The opcode executed was 0xFFBC."
on FrmDrawForm().

in the following fragment.

fromOpenEvent :

frmP = FrmGetActiveForm();
FrmDrawForm(frmP);

PalmOS 5.x works fine.

I cannot find the reason of this, my successefull
source code was not changed. It seems that compilator
doesn't work correctly.

First, update to 9.3. This fixes a lot of bugs from the original V9.0 release.


Second, I don't know of anything that would have changed for this code except the execution environment. Are you running with debug 4.1 ROMs now, where you used release ROMs in the past?

Have you verified that your resources are getting linked correctly? One issue is where you end up with a .rsrc file that doesn't have a 0-byte base. In that case, V9's linker is pulling in the old resources, rather than the correct ones in your RESOURCE.FRK folder. I've talked about this before in this forum, so a search should bring up more details.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to