<div dir="ltr">Actually figured this out myself, and now I feel dumb because I spent 2 days trying.<div><br></div><div>Instead of :</div><div>myObject = orb-&gt;CORBA::ORB::string_to_object(corba_str.c_str());</div><div><br></div><div>It should just be:</div><div>myObject = orb-&gt;string_to_object(corba_str.c_str());</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 22, 2015 at 10:58 AM, Steven . via omniORB-list <span dir="ltr">&lt;<a href="mailto:omniorb-list@omniorb-support.com" target="_blank">omniorb-list@omniorb-support.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
omniORB-list mailing list<br>
<a href="mailto:omniORB-list@omniorb-support.com">omniORB-list@omniorb-support.com</a><br>
<a href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list" rel="noreferrer" target="_blank">http://www.omniorb-support.com/mailman/listinfo/omniorb-list</a><br>
<br><br>---------- Forwarded message ----------<br>From: &quot;Steven .&quot; &lt;<a href="mailto:stevenskeard@gmail.com">stevenskeard@gmail.com</a>&gt;<br>To: <a href="mailto:omniorb-list@omniorb-support.com">omniorb-list@omniorb-support.com</a><br>Cc: <br>Date: Tue, 22 Sep 2015 10:58:27 -0230<br>Subject: Linker Error 2001/1120 MSVC2015<br><div dir="ltr">If I try to invoke the following, I receive the linker error, stating unresolved external symbol. <div><br></div><div>&lt;snip&gt;</div><div><br></div><div>CORBA::ORB_var orb;<br></div><div>CORBA::Object_ptr myObject;<br></div><div><div>const std::string corba_str = &quot;corbaloc::&quot; + curr_ip + &quot;:&quot; + curr_port + &quot;/ClientSessionManagerInterface&quot;;</div></div><div><br></div><div>orb = CORBA::ORB_init(argc, argv);<span style="white-space:pre-wrap">        </span><br></div><div>myObject = orb-&gt;CORBA::ORB::string_to_object(corba_str.c_str());<br></div><div><br></div><div>&lt;snip&gt;</div><div><br></div><div>I can find the declaration for string_to_object() in CORBA_ORB.h, but clearly I am missing the .lib that contains the definition. What .lib should be included?</div></div>
<br></blockquote></div><br></div>