CIAO VERSION: 0.5.9
<br>
<br>TAO VERSION : 1.5.9
<br>
<br>ACE VERSION : 5.5.9
<br>
<br>
<br>
<br>HOST MACHINE and OPERATING SYSTEM:
<br>
<br>If on Windows based OS's, which version of WINSOCK do you use?: Pentium IV, Debian linux kernel 2.6
<br>
<br>
<br>
<br>TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
<br>
<br>COMPILER NAME AND VERSION (AND PATCHLEVEL):
<br>
<br>
<br>
<br>THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform- specific file, simply state which one]:#include "ace/config-
<br>
<br>linux.h"
<br>
<br>
<br>
<br>THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you use a link to a platform-specific file, simply state which one (unless this isn't used in this case, e.g., with Microsoft Visual C++)]:
<br>
<br>no_hidden_visibility=1
<br>
<br>include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
<br>
<br>
<br>
<br>CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/
<br>
<br>default.features
<br>
<br>(used by MPC when you generate your own makefiles): There is no
<br>
<br>such file.
<br>
<br>
<br>
<br>AREA/CLASS/EXAMPLE AFFECTED: Invoking push_event on a component
<br>
<br>[What example failed? What module failed to compile?]
<br>
<br>
<br>
<br>DOES THE PROBLEM AFFECT:
<br>
<br>COMPILATION? No.
<br>
<br>If so, what do your $ACE_ROOT/ace/config.h and
<br>
<br>$ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
<br>
<br>LINKING?
<br>
<br>On Unix systems, did you run make realclean first?
<br>
<br>EXECUTION? No.
<br>
<br>OTHER (please specify)? Invoking push_event on a component.
<br>
<br>[Please indicate whether ACE/TAO/CIAO, your application, or both are affected.]
<br>
<br>
<br>
<br>SYNOPSIS: Invoking push_event on a component
<br>
<br>[Brief description of the problem]
<br>
<br>
<br>
<br>DESCRIPTION:
<br>
<br>[Detailed description of problem. Don't just say " doesn't work, here's a fix," explain what your program does to get to the state. ]
<br>
<br>
<br>
<br>Hi,
<br>
<br>I'm trying to invoke the push_event method on a component using the following code changed from the Hello example:
<br>
<br>CORBA::Object_var obj = orb->string_to_object (ior);
<br>
<br>Components::EventConsumerBase_var consumer = Components::EventConsumerBase::_narrow(obj.in ());
<br>Hello::TimeOut_var event = new OBV_Hello::TimeOut;
<br>
<br>consumer->push_event(event);
<br>
<br>I'm getting the ior from a file. It happens that the "obj" is filled right, but the "consumer" I'm getting has a null value. What I am doing wrong?
<br>
<br>Thank you very much.
<br>
<br>Santos
<br>
<br>REPEAT BY:
<br>
<br>[What you did to get the error; include test program or session transcript if at all possible. ]
<br>
<br>
<br>SAMPLE FIX/WORKAROUND:
<br>
<br>[If available ]
<br><br/>
<div>
<hr style="width:85%;margin-left:0px;text-align:left"/><br/>
<b>Get all the Hottest Artists on Your Cell Phone - Plus 10 Bonus Tones Today!</b><br/>
Find Your New Ringtone at <a href="http://www.lycos.playp.biz/mobringtones/Default.aspx?StoreFrontID=0006-0006-1005-0125" target="_blank"><u>Lycos Mobile</u></a>.
</div>