Hi,
    I have an xml form with a text box ("<textbox>") and I'm trying to 
pass its value through Javascript to a C++ function whose sole parameter 
is of type PRUnichar*.  My question is, how can I convert whatever type 
the textbox.value is to PRUnichar*.  Passing it straight seems to lose 
all the data except the first character.  Right now my JS code looks 
something like this:

    var value = textField.value;
    var prUnicharVal = ConvToUnichar(value);
    profile.startAppRunner( prUnicharVal );

    function ConvToUnichar(val) { /* empty! */ }

Thanks in advance, Homer


Reply via email to