Corba call parameter - Object

This is a discussion on Corba call parameter - Object ; in my idl is function: void MyFunction(in wstring wsMsg); C++ code is myVar->MyFunction( L"" ); if I used this c++ code with linux compiler (don't remember version), then all worked OK. But with Visual C++ .NET it got an error. ...

+ Reply to Thread
Results 1 to 2 of 2

Corba call parameter

  1. Default Corba call parameter


    in my idl is function:
    void MyFunction(in wstring wsMsg);

    C++ code is
    myVar->MyFunction( L"" );


    if I used this c++ code with linux compiler (don't remember version),
    then all worked OK.
    But with Visual C++ .NET it got an error.

    Why can't use empty widestring?
    myVar->MyFunction( L"TEST" ); compiled fine.





  2. Default Re: Corba call parameter

    On Tue, 01 Feb 2005 19:46:43 +0200, Indrek Mägi
    <polemeili@hotmail.com> wrote:

    >
    >in my idl is function:
    >void MyFunction(in wstring wsMsg);
    >
    >C++ code is
    >myVar->MyFunction( L"" );
    >
    >
    >if I used this c++ code with linux compiler (don't remember version),
    >then all worked OK.
    >But with Visual C++ .NET it got an error.


    It compiled, but using this function got Corba::Exception.


    >
    >Why can't use empty widestring?
    >myVar->MyFunction( L"TEST" ); compiled fine.


    this get not exception.

    >
    >
    >



+ Reply to Thread

Similar Threads

  1. Why we can't provide a null parameter to method in CORBA?
    By Application Development in forum Java
    Replies: 4
    Last Post: 07-07-2007, 04:14 PM
  2. output parameter causing org.omg.CORBA.BAD_PARAM
    By Application Development in forum Java
    Replies: 4
    Last Post: 10-27-2006, 02:17 PM
  3. output parameter causing org.omg.CORBA.BAD_PARAM
    By Application Development in forum Object
    Replies: 4
    Last Post: 10-27-2006, 02:17 PM
  4. CORBA call timeout
    By Application Development in forum Java
    Replies: 1
    Last Post: 09-13-2005, 05:16 PM
  5. can not call corba from webservices
    By Application Development in forum Object
    Replies: 2
    Last Post: 05-25-2004, 10:44 PM