[omniORB] Re: Compile with visual C++ 2008

Luke Deller ldeller at iress.com.au
Wed Dec 23 11:17:47 GMT 2009


Hi Jose,

The presence of the keyword "__clrcall" indicates to me that you are trying to compile your code as managed code.  Is this correct?

OmniORB has not been ported to the .NET platform.  See the IIOP.NET project for CORBA support on .NET:
http://iiop-net.sourceforge.net/

Regards,
Luke.

________________________________________
From: omniorb-list-bounces at omniorb-support.com [mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Jose Luis Dominguez
Sent: Wednesday, 23 December 2009 3:08 AM
To: omniorb-list at omniorb-support.com
Subject: [omniORB] Re: Compile with visual C++ 2008

I manage to compile, but i can't link
I solve compiling error by deleting one preprocesor key:
I use just: "__WIN32__,__x86__,__NT__,__OSVERSION__=4"

This is the first error when i link:
      1>Cliente_CLR.obj : error LNK2028: se hace referencia al símbolo (token) sin resolver (0A000013) "public: virtual struct _omni_ValueIds const * __clrcall CORBA::StringValue::_NP_truncatableIds(void)const " (?_NP_truncatableIds at StringValue@CORBA@@$$FUBMPBU_omni_ValueIds@@XZ) en la función "[thunk]:public: virtual struct _omni_ValueIds const * __clrcall CORBA::StringValue::_NP_truncatableIds`vtordisp{4294967292,0}' (void)const " (?_NP_truncatableIds at StringValue@CORBA@@$$F$4PPPPPPPM at A@BMPBU_omni_ValueIds@@XZ)

****************************************

Any idea?


On Tue, Dec 22, 2009 at 1:07 PM, Jose Luis Dominguez <jldm231 at gmail.com> wrote:

Hi when i try to compile my code i get this error:
1>C:\omniORB-4.1.4\include\omnithread.h(239) : error C3861: 'TryEnterCriticalSection': no se encontró el identificador

and a lot of warning like this:
C:\omniORB-4.1.4\include\omnithread.h(213) : warning C4272: 'omni_thread_fatal::omni_thread_fatal' : está marcada con __declspec(dllimport); debe especificar la convención de llamadas nativa al importar una función.
and like this:
1>C:\omniORB-4.1.4\include\omniORB4/IOP.h(107) : warning C4394: 'IOP::TAG_INTERNET_IOP' : el símbolo por Appdomain no se debe marcar con __declspec(dllimport)

please, help!
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is confidential and may be subject to legal privilege.  If you are not the intended recipient you must not use, distribute or copy this email.  If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this email are not necessarily the views of IRESS Market Technology Limited.

It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information is free of a virus or any other defect or error.
**********************************************************************************************



More information about the omniORB-list mailing list