[omniORB] a beginner's question

Jian Peng jian.peng@vanderbilt.edu
Wed Jun 12 19:26:01 2002


Hi, everyone,

Thank you guys for your reply. After I changed the VC settings, my
program compiled. And now I have a new question. We have a Linux
machine running omniORB2.4, and I want to access corba servers from my
Windows NT machine. Attached is my code to access the naming service
on the Linux machine - machine name is scooter - from my windows
machine. I ran my program as:

list2 -ORBInitRef NameService=iioploc://scooter:1358/NameServie

And I got this error:

CORBA::ORB_init failed: unknown ORB argument  <-ORBInitRef>

So what's the correct way to access the naming service from my windows
machine?

Thank you all for your kindly help!

Jian

----- Original Message -----
From: "bjorn rohde jensen" <shamus@tdcadsl.dk>
To: "Jian Peng" <jian.peng@vanderbilt.edu>
Cc: <omniorb-list@realvnc.com>
Sent: Wednesday, June 12, 2002 3:23 AM
Subject: Re: [omniORB] a beginner's question


> Hi Jian,
>
>  First of all you might want to consider upgrading to
> the newer omniORB3.0.4 or omniORB4, a fair bit of
> improvements have happened since omniORB2.5.
>  The link error is probably due to your VC project
> setting. Apparently windows GUI applications need a
> WinMain function, which is probably some sort of
> event loop thing, instead of the usual C/C++ main
> function. If you change your project type to a
> console application, the link error should go away.
> I learnt this using google so no garanties, i dont
> use windows;)
>
> Yours sincerely,
>
> Bjorn
>