Re: Database Access

Darren Middleman <[email protected]>
Newsgroups gmane.comp.corba.orbacus
Organization IONA | Making Software Work Together TM
Message-ID <[email protected]>
Hi Swapnil,

>         I am using RMI-IIOP. I want to access a database(MS Access) from the
> client which is developed in vc++ and send this data to the EJB. I am new to
> vc++ so I am not able to decide how to do it.
> 
> I tried to implement some examples. Most of the times I end with errors like
> 
> \program files\microsoft visual studio\vc98\include\winsock2.h(99) : error
> C2011: 'fd_set' : 'struct' type redefinition
> d:\program files\microsoft visual studio\vc98\include\winsock2.h(134) : note
> C6311: d:\program files\microsoft visual studio\vc98\include\winsock.h(83) :
> see previous definition of 'FD_SET'
> .
> .
> .
> 
> 
> Do I need to follow some specific approach to access a database from a CORBA
> client or can it be done in the same way as it is done in other c++
> applications?

The errors you are seeing with regards to the winsock2 header are usually
caused when you do not include the Orbacus headers first before any system
ones in your application.  Generally, when you write your code, you should
place the Orbacus include files first, followed by any other header files
needed in your application.

As for a specific approach needed to access a database from a CORBA client,
I am not aware of any specific features that would apply to a CORBA
application which would not normally apply to a general application.

Regards,
Darren

-- 
Darren Middleman, Software Engineer
Team Orbacus - Your CORBA Source
Email: mailto:[email protected]
WWW: http://www.orbacus.com/
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.