[omniORB] OmniORB wilth DLL

concat833 at yahoo.com concat833 at yahoo.com
Fri Sep 24 08:25:59 BST 2004


Hi all,
I want to create DLL files with OmniORB.
I have a class 
class __declspec(dllexport) Object
{
private:
 CORBA::ORB_var orb;
...
...
}
 
When I compile, there's warning: 
warning C4251: 'orb' : class 'CORBA::ORB_var' needs to have dll-interface to be used by clients of class 'Object'
        d:\programs\omniorb-4.0.4\include\omniorb4\corba_vartypes.h(191) : see declaration of 'ORB_var'
 
How can I solve this problem.
Thanks in advance for any help.
Tran Phuong Nga

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040924/a97a0577/attachment.htm


More information about the omniORB-list mailing list