<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Application crashing the while selecting the test case from the Tree Hierarchy in Test runner application"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108100">108100</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Application crashing the while selecting the test case from the Tree Hierarchy in Test runner application
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cppunit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.13
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>General
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kumar.mamidi@siemens.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

We have used CPPUnit 1.13.2 version in Win 7, VS2008 32 bit application and it
is working fine.

but we are facing issue with  CPPUnit 1.13.2 version to test our application in
Win10 ,VS2013 64 bit . 

I have created the testing application using CPPUnit 1.13.2 and compilation
success under Win10,VS2013 64 bit.

Testing tool is crashed (Memory access violation ) while selecting the test
case from the TreeHierarchy Dlg under testrunner application.

I have debugged the application and found the issues as in below
File Name : $\cppunit-1.13.2\src\msvc6\testrunner\TreeHierarchyDlg.cpp
issue 1: 
Function Name : 
HTREEITEM TreeHierarchyDlg::addTest( CPPUNIT_NS::Test *test, 
                           HTREEITEM hParent )
{
  ....
  if ( hItem != NULL )
  {
    VERIFY( m_treeTests.SetItemData( hItem, (DWORD)test ) );
   ...
 }
  return hItem;
}
issue 2:
CPPUNIT_NS::Test *
TreeHierarchyDlg::findSelectedTest()
{
  HTREEITEM hItem = m_treeTests.GetSelectedItem();
  if ( hItem != NULL )
  {
    DWORD data;
    VERIFY( data = m_treeTests.GetItemData( hItem ) );
    ..
  }
  return NULL;
}

In both function DWORD should be DWORD_PTR as per the VS 2013 64 bit version.
Kindly let me know is this issue already fixed ? if yes let me know where to
get the updated version.

Is CPPUnit support the Win10 ,VS2013 64bit version ?

Regards
Kumar Mamidi</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>