More serializable types required

Smpp v3.4 client

Moderator: alt

Locked
NickAskew
Posts: 60
Joined: Tue Oct 07, 2008 1:35 pm

More serializable types required

Post by NickAskew » Thu Feb 26, 2009 9:38 pm

Hi Alt,

Would it be possible to get the latest copy of the source please (I purchased it previously) or a modified version where the following types are 'serializable':

<Serializable()> SubmitSmResp
<Serializable()> DeliverSm

I know I could create surrogates but I'd rather have neat code!

Many thanks,

Nick
ProcessFlows UK Ltd
http://www.processflows.co.uk/
NickAskew
Posts: 60
Joined: Tue Oct 07, 2008 1:35 pm

Re: More serializable types required

Post by NickAskew » Mon Jul 13, 2009 9:54 am

Hi

DeliverSm reports "Object reference not set to an instance of an object" whenever an attempt is made to serialize it. (v2.6.0.0)
ProcessFlows UK Ltd
http://www.processflows.co.uk/
NickAskew
Posts: 60
Joined: Tue Oct 07, 2008 1:35 pm

Post by NickAskew » Tue Jul 14, 2009 12:32 pm

Found the cause:

Within [DeliverSm.vb], [Public Sub New()], you need to add [_user_data = New UserData()] for the serialization to work.

Regards

Nick
ProcessFlows UK Ltd
http://www.processflows.co.uk/
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Sat Jul 18, 2009 3:35 pm

fixed in version 2.6.2
Locked