ace

Problems linking ACE in VC++

Hi, I've built ACE.dll and ACE.lib of the ACE library. But when I link it to my program, I get several errors like Error 2 error LNK2019: unresolved external symbol "void * __cdecl ACE_OS::memcpy(void *,void const *,unsigned int)" (?memcpy@ACE_OS@@YAPAXPAXPBXI@Z) referenced in function "public: void __thiscall ACE_String_B...

C++ segmentation fault when trying to resolve a CORBA reference

Guys, When im trying to resolve a CORBA reference I receive a segmentation fault. Either im blind or I have done something really stupid for this not work. Im using ACE 5.7.9 TAO 1.7.9 for CORBA. Wondering if anyone can help me please ??? The segmentation fault seems to be happening on the line "serverRef = Corba::Orb::getOrb().resolve...

C++ CORBA (ACE/TAO) questions

Guys, Im using ACE TAO as the CORBA implementation. I would like to find out if anyone know of any options to set Maximum Message Size and Maximum number of Connections. omniORB has two options for these, giopMaxMsgSize and maxGIOPConnectionPerServer. Even though TAO has ORBMaxMessageSize and ORBLingerTimeout it causes my server to cr...

shared_ptr puzzle

Hi, I'm using ACE framework, but I'll try to describe my problem without referencing to it. I have an event handler (class derived from ACE_Event_Handler). Reference to the event handler is hold by some manager class in maps of shared_ptr's. At some point of time I want to: remove the event handler from manager map Some method of ev...

Connect to remote UDP multicast service

How to connect to remote udp multicast if I have an IP address where the service resided (say 70.70.70.70), the multicast group to connect (say 224.25.25.25) and port (say 2020)? I use ACE framework and in the sniffer I see that ACE sends IGMP packet to 224.0.0.2, in order to join a group, but my home router (checkpoint) doesn't know wh...