Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Deleting a submission from submissionManager

6 posts in General Discussion Last posting was on 2004-11-13 00:19:53.0Z
Michael Johnson Posted on 2004-10-27 22:10:41.0Z
Sender: 724d.417ed194.1804289383@sybase.com
From: Michael Johnson
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Deleting a submission from submissionManager
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <41801ce1.440.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 Oct 2004 15:10:41 -0700
X-Trace: forums-1-dub 1098915041 10.22.241.41 (27 Oct 2004 15:10:41 -0700)
X-Original-Trace: 27 Oct 2004 15:10:41 -0700, 10.22.241.41
Lines: 31
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:182
Article PK: 8760

I running the following code snipit:
...
subMgr = avantgo.submissionManager;
count = subMgr.length;
TitleStr = "Other " + Shift_id + "-" + Other_id;

while(count>0)
{ count--;
submission = subMgr.submissions[count];

if( (submission != null)
&& (submission.title == TitleStr))
{ subMgr.deleteSubmission( submission);
break;
}
}

If I run this code in the Palm OS Emulator, when I leave
this page and load a new page I get the following warning:

AvantGo (5.3.69) Called SysFatalAlert with the message:
"MemoryMgr.c, Line:4475, Invalid Chunk Ptr".


If I don't run the above code, I don't get this warning.
Can anyone tell me if there is a problem with this code
snipit?

Thanks,

Mike.


Yadong Posted on 2004-10-29 00:23:09.0Z
Sender: 1991.41818a53.1804289383@sybase.com
From: Yadong
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Re: Deleting a submission from submissionManager
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <41818d6d.19a5.1681692777@sybase.com>
References: <41801ce1.440.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 28 Oct 2004 17:23:09 -0700
X-Trace: forums-1-dub 1099009389 10.22.241.41 (28 Oct 2004 17:23:09 -0700)
X-Original-Trace: 28 Oct 2004 17:23:09 -0700, 10.22.241.41
Lines: 38
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:185
Article PK: 17608

Try changing this line:
submission = subMgr.submissions[count];

to this:
submission = subMgr[count];

> I running the following code snipit:
> ...
> subMgr = avantgo.submissionManager;
> count = subMgr.length;
> TitleStr = "Other " + Shift_id + "-" + Other_id;
>
> while(count>0)
> { count--;
> submission = subMgr.submissions[count];
>
> if( (submission != null)
> && (submission.title == TitleStr))
> { subMgr.deleteSubmission( submission);
> break;
> }
> }
>
> If I run this code in the Palm OS Emulator, when I leave
> this page and load a new page I get the following warning:
>
> AvantGo (5.3.69) Called SysFatalAlert with the message:
> "MemoryMgr.c, Line:4475, Invalid Chunk Ptr".
>
>
> If I don't run the above code, I don't get this warning.
> Can anyone tell me if there is a problem with this code
> snipit?
>
> Thanks,
>
> Mike.