Hi all,
because i'm encountering internal compiler errors when trying to port a project 
from mico 2.3.6/VC++ 6.0 to 2.3.12/VC++7.1, i've tryed to
compile the project using the combination 2.3.6. with VC++ 7.1.
I have to use VC++ 7.1, because the code is part of a biggger project.
A Patch provided by Micorosoft to solve the internal compiler error does'nt 
help.
The internal compiler error does'nt occur, but i'm getting the following error 
in the code generated by the idl compiler:

C2064: term does not evaluate to a function taking 3 arguments

The Error occurs in a method 

bool POA_model::Session::dispatch (CORBA::StaticServerRequest_ptr __req)

Session is an Interface defined in one of the idls.

Please look at the following code snipset:

        ...

        model::AbstractSession_var session;
        model::ClientInfo client;
        CORBA::String_var message;

          ...

        #ifdef HAVE_EXCEPTIONS
        try {
        #endif
------> message( session.inout(), client, message.inout() ); 
        #ifdef HAVE_EXCEPTIONS
        } catch( ::model::NotLoggedInException_catch &_ex ) {
          __req->set_exception( _ex->_clone() );
          __req->write_results();
          return true;
        } catch( ::model::ObjectAccessException_catch &_ex ) {
          __req->set_exception( _ex->_clone() );
          __req->write_results();
          return true;
        } catch( ::model::Internal_catch &_ex ) {
          __req->set_exception( _ex->_clone() );
          __req->write_results();
          return true;
        }
        #endif
        __req->write_results();
        return true;

The code looks valid to me, because "message" (the method is Part of my idl 
Interface) is a abstract member function of POA_model::Session. When i try to 
change the code in order to call the Method full qualified, i'm getting a 
linker error 
nc_dll error LNK2019: unresolved external symbol "public: virtual void 
__thiscall POA_model::Session::message(class model::AbstractSession *,struct 
model::ClientInfo const &,char const *)" ([EMAIL PROTECTED]@POA_model@@[EMAIL 
PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) referenced in function 
$L190004 

Any suggestions ?

Best regards
Andrej

_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to