Search the web
Sign In
New User? Sign Up
pocketsoap
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
pocketSOAP crashed when serializing an empty array   Message List  
Reply | Forward Message #476 of 5330 |
Re: pocketSOAP crashed when serializing an empty array

--- In pocketsoap@y..., "shaolinxiong" <shaolinxiong@h...> wrote:
> Hi Simon,
> The HRESULT value of SafeArrayPtrOfIndex method is "Invalid index"
if
> the array is empty but this value is ignored inside method
> CSerializerArray::SerializeVariantSafeArray.
>
> SX


Hmmmm, yes, it should probably chcek that the first position is valid
first. BTW, how are you creating an empty array ?

Cheers
Simon




Sat Jan 12, 2002 6:04 am

simonfell99
Online Now Online Now
Send Email Send Email

Forward
Message #476 of 5330 |
Expand Messages Author Sort by Date

Hi Simon, The HRESULT value of SafeArrayPtrOfIndex method is "Invalid index" if the array is empty but this value is ignored inside method ...
shaolinxiong
Offline Send Email
Jan 11, 2002
2:25 pm

... if ... Hmmmm, yes, it should probably chcek that the first position is valid first. BTW, how are you creating an empty array ? Cheers Simon...
simonfell99
Online Now Send Email
Jan 12, 2002
6:04 am

Simon, An easy way to do this to send an empty array from .NET. Something like string[] val = new string[0] {}; and send it as a parameter to soap. When...
David Buksbaum
dbuksbaum
Offline Send Email
Jan 13, 2002
3:45 am

Thanks David, the fix for this will be in the next release, is this a big issue for you ?, I could probably do a release sometime this week if you need the...
Simon Fell
simonzakfell42
Offline Send Email
Jan 14, 2002
6:21 pm

Simon, We have put some work arounds, but would prefer to use an 'official' code base. The sooner the better, but more stable is even better than that. :) ...
David Buksbaum
dbuksbaum
Offline Send Email
Jan 15, 2002
2:19 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help