<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RTR C++ API  Bug in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613289#M18082</link>
    <description>ye,&lt;BR /&gt;&lt;BR /&gt;  Start by logging a case with HP customer support.&lt;BR /&gt;&lt;BR /&gt;  While waiting for a response, I'd look at the shareable images you link against to check that the routines you're expecting exist. If so, I'd create my own rtrapi.h file, defining them, and confirm that the code works the way I expect.&lt;BR /&gt;&lt;BR /&gt;  You can then show HP incorrect and correct versions of the .h file.&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Apr 2010 21:12:56 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2010-04-07T21:12:56Z</dc:date>
    <item>
      <title>RTR C++ API  Bug</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613288#M18081</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;       My partner meet a strange problem of RTR C++ API during the test of RTR, the problem is ,when we select the event-driven model to access message data, we found that there is none GetMessage(), GetMessageType() and GetMessageLength method in the RTRApplicationMessage class , after we compile the test source code ,it show these information:&lt;BR /&gt;&lt;BR /&gt;--------------------Configuration: tcxx - Win32 Debug-------------------- Compiling...&lt;BR /&gt;tcxx.cpp&lt;BR /&gt;C:\WorkSpace\Temp\RTR_demo_NT\tcxx.cpp(34) : error C2039: 'GetMessage' : is not a member of 'RTRApplicationMessage'&lt;BR /&gt;        c:\program files\rtr\rtrapi.h(1778) : see declaration of 'RTRApplicationMessage'&lt;BR /&gt;C:\WorkSpace\Temp\RTR_demo_NT\tcxx.cpp(35) : error C2039: 'GetMessageType' : is not a member of 'RTRApplicationMessage'&lt;BR /&gt;        c:\program files\rtr\rtrapi.h(1778) : see declaration of 'RTRApplicationMessage'&lt;BR /&gt;C:\WorkSpace\Temp\RTR_demo_NT\tcxx.cpp(36) : error C2039: 'GetMessageLength' : is not a member of 'RTRApplicationMessage'&lt;BR /&gt;        c:\program files\rtr\rtrapi.h(1778) : see declaration of 'RTRApplicationMessage'&lt;BR /&gt;Error executing cl.exe.&lt;BR /&gt;&lt;BR /&gt;tcxx.exe - 3 error(s), 0 warning(s)&lt;BR /&gt;&lt;BR /&gt;....................................................................................................................................................&lt;BR /&gt;&lt;BR /&gt;The test source code is :&lt;BR /&gt;&lt;BR /&gt;#include &lt;IOSTREAM.H&gt;&lt;BR /&gt;#include &lt;RTRAPI.H&gt;&lt;BR /&gt;&lt;BR /&gt;void main()&lt;BR /&gt;{&lt;BR /&gt; cout&amp;lt;&amp;lt;"test c++"&amp;lt;&lt;ENDL&gt;&lt;/ENDL&gt;&lt;BR /&gt; RTR *MyRTR = new RTR();&lt;BR /&gt; rtr_status_t sStatus;&lt;BR /&gt; bool bSupersede = true;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; sStatus = MyRTR-&amp;gt;CreateJournal(bSupersede);&lt;BR /&gt; if ( sStatus == RTR_STS_OK )&lt;BR /&gt;  cout&amp;lt;&amp;lt;" a new journal is created "&amp;lt;&lt;ENDL&gt;&lt;/ENDL&gt; else&lt;BR /&gt;  cout&amp;lt;&lt;MYRTR-&gt;GetErrorText(sStatus)&amp;lt;&lt;ENDL&gt;&lt;/ENDL&gt; &lt;BR /&gt; &lt;BR /&gt; sStatus = MyRTR-&amp;gt;IsRunning();&lt;BR /&gt; if( sStatus == false )&lt;BR /&gt; {&lt;BR /&gt;  sStatus = MyRTR-&amp;gt;Start();&lt;BR /&gt;  if(sStatus == RTR_STS_OK)&lt;BR /&gt;   cout&amp;lt;&amp;lt;" RTR is started "&amp;lt;&lt;ENDL&gt;&lt;/ENDL&gt;  else&lt;BR /&gt;   cout&amp;lt;&lt;MYRTR-&gt;GetErrorText(sStatus)&amp;lt;&lt;ENDL&gt;&lt;/ENDL&gt; }&lt;BR /&gt; else&lt;BR /&gt;  cout&amp;lt;&amp;lt;" RTR is already runing "&amp;lt;&lt;ENDL&gt;&lt;/ENDL&gt;&lt;BR /&gt;    RTRApplicationMessage *msg = new RTRApplicationMessage();&lt;BR /&gt; msg-&amp;gt;Dispatch();&lt;BR /&gt; msg-&amp;gt;GetMessage();&lt;BR /&gt; msg-&amp;gt;GetMessageType();&lt;BR /&gt; msg-&amp;gt;GetMessageLength();&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And in the rtrapi.h file, we just find the GetMessageType() method, the other two GetMessage****() method is disappear ,So, it means the RTRApplicationMessage class only have Dispatch() method, the orher three method GetMessage****() are Null function.Another question is about the Polling-Driven model, if I use this model, which function shoud I use to get the RTR data, the RTRData have only GetDataLength method, none GetData method.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the platform is windows ,the RTR version is  RTR v4.5(318) BL5,and the complier is VC++ v6.0.and i also test these code in alpha openvms , the result is same.&lt;BR /&gt;&lt;BR /&gt;Every expert , who knows how to fix these or have RTR C++ api code experience?&lt;BR /&gt;&lt;BR /&gt;thanks &amp;amp; regards&lt;BR /&gt;&lt;BR /&gt;ye kuang&lt;/MYRTR-&gt;&lt;/MYRTR-&gt;&lt;/RTRAPI.H&gt;&lt;/IOSTREAM.H&gt;</description>
      <pubDate>Wed, 07 Apr 2010 07:33:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613288#M18081</guid>
      <dc:creator>ye kuang</dc:creator>
      <dc:date>2010-04-07T07:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: RTR C++ API  Bug</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613289#M18082</link>
      <description>ye,&lt;BR /&gt;&lt;BR /&gt;  Start by logging a case with HP customer support.&lt;BR /&gt;&lt;BR /&gt;  While waiting for a response, I'd look at the shareable images you link against to check that the routines you're expecting exist. If so, I'd create my own rtrapi.h file, defining them, and confirm that the code works the way I expect.&lt;BR /&gt;&lt;BR /&gt;  You can then show HP incorrect and correct versions of the .h file.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2010 21:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613289#M18082</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-04-07T21:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: RTR C++ API  Bug</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613290#M18083</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   thanks for your response, the RTR is loan to customer NEWGRAND, it's a very important ERP provider in PRC, the NEWGRAND is now using RTR intergrate with their i6 solution and testing RTR's function, if passed the test, they will buy RTR, it will be the first RTR customer in china, so i think if customer buy hp's product the carepack can just be created. so for how can i deal with this problem, or who in hp rpovide support.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks &amp;amp; regards&lt;BR /&gt;&lt;BR /&gt;ye kuang</description>
      <pubDate>Thu, 08 Apr 2010 02:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613290#M18083</guid>
      <dc:creator>ye kuang</dc:creator>
      <dc:date>2010-04-08T02:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: RTR C++ API  Bug</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613291#M18084</link>
      <description>HP are now engaged with Ye on this issue</description>
      <pubDate>Thu, 08 Apr 2010 14:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rtr-c-api-bug/m-p/4613291#M18084</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2010-04-08T14:55:11Z</dc:date>
    </item>
  </channel>
</rss>

