<DIV>Hello all,</DIV>
<DIV>Could anyone help me to solve the following problems?</DIV>
<DIV>In idl file, the exception is defined:</DIV>
<DIV>module ACI</DIV>
<DIV>{</DIV>
<DIV>....</DIV>
<DIV>exception ENotAvailable<BR> {<BR> string strMessage;<BR> };</DIV>
<DIV>...</DIV>
<DIV>}</DIV>
<DIV>In the client application, I did:</DIV>
<DIV>try{}</DIV>
<DIV>catch(ACI::ENotAvailable& ex)</DIV>
<DIV>{</DIV>
<DIV>cerr << *ex.strMessage;</DIV>
<DIV>}<BR>The strMessage is define with a full message by the server developer, but from the client side, I got only the first character of the strMessage. Is the problem from the server developer of from the client one? Can anyone help me out?</DIV>
<DIV> </DIV>
<DIV>And another problem with double variables.</DIV>
<DIV>doubleSeq_var values; // doubleSeq is defined as a sequence of double.</DIV>
<DIV>When I get the values, I print it out (cout << values[0];), it's really a double (eg 5.123). But if I put it in a double:</DIV>
<DIV>double val = values[0];</DIV>
<DIV>cout << val << endl;</DIV>
<DIV>In this case, val is not really a double but only the integer part of it. (val = 5). Does anyone know why?</DIV>
<DIV>Thank you in advance for any help.</DIV>
<DIV>Tran Phuong Nga. </DIV><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/aac/*http://promotions.yahoo.com/new_mail/static/ease.html">Yahoo! Mail Address AutoComplete</a> - You start. We finish.