Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-29-2008, 04:12 AM
Junior Member
 
Join Date: Jan 2006
Posts: 16
Default SendBinaryMessage Problem

Dear Sir;
I meet a Byte Array problem, please give some guide.

VoiCln.SendBinaryMessage(abc,["a","b","c"]) delivers binary message success,

receive message follow:
VoiCln.OnBinaryMessage=function(aHandle,aMessage)
{
trace("aMessage "+aMessage);
}

aMessage Byte array holding the message data, how do I can use aMessage as a Array.


Reply With Quote
  #2 (permalink)  
Old 12-01-2008, 09:00 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: SendBinaryMessage Problem

Please use the StringStream object to handle byte array of activex components. SWFKit converts byte arrays automatically to stringstream objects, and vice versa.
Reply With Quote
  #3 (permalink)  
Old 12-03-2008, 05:20 AM
Junior Member
 
Join Date: Jan 2006
Posts: 16
Default Re: SendBinaryMessage Problem

thank you response, Can give some example?
Reply With Quote
  #4 (permalink)  
Old 12-27-2008, 03:40 AM
Junior Member
 
Join Date: Jan 2006
Posts: 16
Default

how to handle byte array of activex components use the StringStream object , can give some detail guide for my question?, thank you.
Reply With Quote
  #5 (permalink)  
Old 12-29-2008, 07:28 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default

For example, when an activex method uses a binary array argument, you just need to create a stringstream object, write the contents, and pass it to the activex method. When a activex method returns a binary array, you will get a stringstream object automatically, instead of an array.
Reply With Quote
  #6 (permalink)  
Old 01-07-2009, 01:53 AM
Junior Member
 
Join Date: Jan 2006
Posts: 16
Default

thank you response.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:28 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.