Anyone successfully build omniORB-2.2 on Windows NT 4.0 with VC++ 4.2?

Bing Zhang bzhang@sohar.com
Wed, 17 Dec 1997 11:47:05 -0800


Hi Joachim,

Thanks again for the help. For the eg2_impl, I remove the quote and now
it works. For the eg3_impl, I found my problem: I used the text editor
Notepad to edit the file omniORB.cfg in Windows NT and  it was
automatically saved as omniORB.cfg.txt. This is hard to see in the file
explorer. I detected this on dos command line and renamed it to
omniORB.cfg. Now it works. The regedit did not work for me. When I do
it, it complains that "unkonw field ()" error. Anyway I am comfortable
with the OMNIORB_CFG and omniORB.cfg approach.

Bing 


Joachim Fabini wrote:
> 
> Hi Bing,
> 
> For eg2_clt.exe: Remove the quotes before and after the stringified IOR
> output by eg2_impl.exe (Remember that eg2_impl.exe must be running when
> calling eg2_clt.exe). So you must pass something like IOR:xxxxxxx, and not
> 'IOR:xxxx' to the client app. Quotes are needed on Unix but do not work on
> NT.
> 
> Regarding the name service: It seems to me that it does not work
> correctly. Try to setup the name service as suggested by the Readme-Files
> that come with the distribution. Set the value for the nameservice's IOR
> using the registry (regedt32) and it should work
> 
> Hope it helps
> --Jo
> 
> > I downloaded the Windows NT binary, installed it on my NT 4.0 machine
> > and configured the name service with the environmental variable
> > OMNIORB_CONFIG. All the examples work fine except the eg2_clt. When I
> > tried to run the eg2_clt, I got the "The system can not execute the
> > specified program" error, maybe it was because the stringified object is
> > too long.
> >
> > Then I downloaded the source code only and built, installed it on
> > another NT 4.0 machine with VC++4.2. I configured the names service as
> > before. Now all the examples work except eg2_clt and eg3_impl. In the
> > case of the eg2_clt, I got the system exception error. When I run the
> > eg3_impl, I got the "abnormal termination" error when the program trying
> > to execute the
> >
> > initServ = orb->resolve_initial_references("NameService");
> >
> > which is inside the bindObjectToName() function.
> >
> > Anyone with the similiar problems?
> >
> > Bing
> >
> >