Hello, Thank you very much. <BR><BR><B><I>Ando Noriaki <n-ando@aist.go.jp></I></B> wrote:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <div>Hello<BR><BR>> I have a WAVE Component that plays *.Wav file and another component caller<BR>> component that uses WAVE component via service port.<BR>><BR>> Interface is looks like below.<BR>><BR>> Interface WavePlayer{<BR>><BR>> void playWaveFile(string filename);<BR>> }<BR>><BR>><BR>> When I start my Caller Comp and WaveComp in 2 different terminals,<BR>> playWaveFile plays in the the terminal where Wave Comp started.<BR>><BR>> I want payWaveFile to be played in CallerComp's terminal.<BR><BR><STRONG>You mean you want get .wav file in CallerComp's node?</STRONG></div><STRONG></STRONG></BLOCKQUOTE>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><STRONG></STRONG>  <div><FONT
 color=#0000bf>If I have a sting show(); function in ProviderComp, then I can get the Return value from ConsumerComp. </FONT></div>  <div><FONT color=#0000bf></FONT> </div>  <div><FONT color=#0000bf>Now, I have a void playWaveFile(string filename); function in my ProviderComp which playes Wav file. But, since playWaveFile function returns no value, I can not see the playing sounc in my Consumer Components terminal.So, I think I need to retunr some value, but I don't knwo which value I need to retun? </FONT></div>  <div><FONT color=#0000bf></FONT> </div>  <div><FONT color=#0000bf></FONT> </div>  <div><STRONG><FONT color=#0000bf>I am trying to play Wav in Proivder Comp and get the sound in Consumer comp without sending the Wav file to consumer,........Is it possibel????</FONT></STRONG></div>  <div> </div>  <div> </div>  <div> </div>  <div><BR><BR>> In order to do so, I think I need to return a value for playWaveFile. But<BR>> omniORB
 doesn't have such feature.<BR>><BR>> Is there any other way, I can do it??????????????????????<BR><BR>If you want to send ".wav" file to player component from caller<BR>component, you can give ".wav" file data as an argument like this.<BR><BR>typedef sequence<OCTET> FileData;<BR>interface WavePlayer<BR>{<BR>void playWaveFile(in FileData data);<BR>};<BR><BR><BR>and call this operations in caller component like this,<BR><BR>FileData data;<BR>data.length( set_length_of_the_wav_file );<BR><BR>for (int i(0); i < length_of_the_wav_file; ++i)<BR>{<BR>data[i] = // copy wav file data<BR>// you can also use memcpy() to copy data, because<BR>// CORBA sequence data area is continuously allocated.<BR>}<BR><BR>wavplayer->playWaveFile(data);<BR><BR><BR>-- <BR>°ÂÆ£·Ä¾¼¡÷ÆÈΩ¹ÔÀ¯Ë¡¿Í»º¶Èµ»½ÑÁí¹ç¸¦µæ½ê ¸¦µæ°÷<BR>ÃÎǽ¥·¥¹¥Æ?¸¦µæÉôÌç ?¥¹?¥¤¥ó¥Æ¥ê¥¸¥§¥ó¥¹¸¦µæ¥°¥ë¡¼¥×<BR>¢©305-8568 °ñ¾ë¸©¤Ä¤¯¤Ð»ÔÇß±à1-1-1 Ãæ±ûÂè2<BR>TEL: 029-861-5981 FAX: 029-861-5971<BR>n-ando@aist.go.jp,
 n-ando@ieee.org<BR></div></BLOCKQUOTE><BR><BR><BR><div><FONT color=#00007f></FONT> </div>  <div><FONT color=#00007f>==================================================================================================================================================================</FONT></div>  <div><FONT color=#00007f>Janarbek, Researcher. <BR>Software Robot Research Team, ETRI(Electronics and Telecommunications Research Institute)<BR>161 Kajong-Dong, Yusong-Gu, TAEJON, 305-350, KOREA<BR>Email : </FONT><A href="mailto:janarbek@etri.re.kr"><FONT color=#00007f>janarbek@etri.re.kr</FONT></A><BR><FONT color=#00007f>Phone : 82-42-860-1838<BR>Fax : 82-42-860-6790</FONT></div>  <div><FONT color=#00007f>Cell Phone: 82-10-8692-8103</FONT></div>  <div><FONT color=#00007f>===================================================================================================================================================================</FONT></div><p>
      <hr size=1>Boardwalk for $500? In 2007? Ha! <br><a href="http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow">Play Monopoly Here and Now</a> (it's updated for today's economy) at Yahoo! Games.