[omniORB] omniorb-4.0.3 in windows 2003

Croonen Davy croonen.davy at pandora.be
Fri Jan 30 10:26:00 GMT 2004


Hi Narayan,

I had the same problems under Windows XP  and Visual Studio 6. Normally this
has nothing to deal with
your windows version, it's just you have to link against the right
libraries, as I explained below.
You can find more info about this here:
http://omniorb.sourceforge.net/cgi-bin/moin.cgi/FrequentlyAskedQuestions,
Question 7.

----- Original Message ----- 
From: "Narayan Annamalai" <narayan_annamalai at yahoo.com>
To: <omniorb-list at omniorb-support.com>
Sent: Friday, January 30, 2004 2:33 AM
Subject: [omniORB] omniorb-4.0.3 in windows 2003


> Hi all,
>
>     I am fairly new to omniorb. Here is what I did:
> 1. obtained the binary of omniorb-4.0.3 for win32 and
> set it up in windows 2003.
> 2. wrote a c++ app. and compiled under vc7 that
> establishes a service
> 3. omniNames executes fine in the specified port
> 4. but the app. fails throwing an access violation
> supposedly from the ORB.

If you are building your application in debug mode be sure you link your
program with the the debug libs
(omniORB403_rtd.lib omniDynamic403_rtd.lib omnithread30_rtd.lib). Make also
that the option 'Use-
runtime library' is set to "Debug Multithreaded DLL", this can be done in
Project->settings->C/C++
Category: Code generation (in vc6, in vc7 it can also be done but I don't
know where).

If you are building releases versions, you have to link against the release
versions of the omniorb libraries
(omniORB403_rt.lib omniDynamic403_rt.lib omnithread30_rt.lib) and the
Use-runtime library must then be
set to "Multithreaded DLL".

> Now my question is does omniORB-4.0.3 work fine in
> windows 2003 in the first place, beacause the readme
> file says it has not been tested with 2003. If it
> does, will it be an issue of using ORB dlls compiled
> in vc6 with the c++ app. dlls compiled in vc7.

I suppose omniorb is also running under Windows 2003, but I'm not 100% sure
of that

>
> any comments, suggestions is greatly appreciated,
>
> Thanks,
> Narayan.
>
>
I hope this helped.

Greetz Davy

>
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>
>




More information about the omniORB-list mailing list