You've got multiple problems here...

The first is the fact you posted all that code, the second is that potions
of that code are copyright Palmsource Inc, and protected under
non-disclosure agreement!!

Then there are a multitude of technical reasons...

1. Your call to SF_ScriptPopString is wrong, you are passing it a single
char where you should be passing a length value, and you aren't grabbing the
return value (the string you actually want).
2. You aren't actually passing any data to your clone of Crc16CalcBlock -
you need to give it something to work on!
3. What do you expect CRC to contain when you try to push it back on the
stack? You haven't even declared it anywhere...

There are a bunch of other issues, too many to go into here. If you want
help contact me via email.


Cheers,
Gavin.

fstanley <[EMAIL PROTECTED]> wrote in message
news:112573@palm-dev-forum...
>
> W98, CW6
> A newbie question..
> I have tried to construct code for a Sat Form Extension to calculate the
CRC
> for a string. I cobble together the following code and as I am not "C"
> fluent I am stuck. Anyone please able to help me out. I spent much time
> looking at the square root example and others examples, read the books and
> just getting nowhere. Please no flame just a little help this is a last
> resort. Where I going wrong?? or just where I can get tutorial on writing
> extension in CW.
> Thank for any help
>
[BIG SNIP]




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

Reply via email to