<?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: debug assertion error in threads of c++ under windows in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958648#M7883</link>
    <description>I have not implied any possible analysis after this error.&lt;BR /&gt;&lt;BR /&gt;I dint get to know, how to assign points, I couldn'dnt see any drop down for assigning points</description>
    <pubDate>Fri, 09 Mar 2007 04:43:31 GMT</pubDate>
    <dc:creator>Pushpa Kumari K.H</dc:creator>
    <dc:date>2007-03-09T04:43:31Z</dc:date>
    <item>
      <title>debug assertion error in threads of c++ under windows</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958646#M7881</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;This my part of the c++ program using threads in windows :&lt;BR /&gt;&lt;BR /&gt;//modified by pushpa&lt;BR /&gt;struct structExrdDoc&lt;BR /&gt;{&lt;BR /&gt; CExrdDoc* spDoc;&lt;BR /&gt; LPCTSTR sstrFileName;&lt;BR /&gt;&lt;BR /&gt; structExrdDoc():spDoc(NULL),sstrFileName(""){}&lt;BR /&gt;};&lt;BR /&gt;structExrdDoc sp;&lt;BR /&gt;&lt;BR /&gt;volatile bool running;&lt;BR /&gt;&lt;BR /&gt;UINT CExcelExport::run(LPVOID p)&lt;BR /&gt;{&lt;BR /&gt; CExrdDoc* me = sp.spDoc;&lt;BR /&gt; me-&amp;gt;OnSaveDocument ((LPCTSTR)sp.sstrFileName);&lt;BR /&gt; running = FALSE;&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;//modified by pushpa&lt;BR /&gt;&lt;BR /&gt;void CExcelExport::SaveExcelFile (CExrdDoc* pDoc, const string&amp;amp; strFileName)&lt;BR /&gt;{&lt;BR /&gt; sp.spDoc = pDoc;    //modified by pushpa&lt;BR /&gt; sp.sstrFileName = strFileName.c_str();  //modified by pushpa&lt;BR /&gt; running = TRUE;     //modified by pushpa&lt;BR /&gt; AfxBeginThread(run,NULL);   //modified by pushpa&lt;BR /&gt; //pDoc-&amp;gt;OnSaveDocument (strFileName.c_str()); //modified by pushpa&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here the line of code I have commented was taking lot of time, so I hv tried to use threads and I am new to this.&lt;BR /&gt;&lt;BR /&gt;This is the declaration in the .h file&lt;BR /&gt;&lt;BR /&gt; static UINT CExcelExport::run(LPVOID p);&lt;BR /&gt;&lt;BR /&gt;After some struggle I could compile the application, but when it is run I am getting a Debug assertion error.&lt;BR /&gt;&lt;BR /&gt;debug assertion failed!&lt;BR /&gt;program:d:\amsa\amsa\bin\gageanalysisdlld.exe&lt;BR /&gt;file:wincore.cpp&lt;BR /&gt;line:888&lt;BR /&gt;for information on how your program can cause an assertion failure, see the visual c++ documentation on asserts.&lt;BR /&gt;&lt;BR /&gt;Could you please help me with this.&lt;BR /&gt;&lt;BR /&gt;Thanking you in advance,&lt;BR /&gt;Pushpa.</description>
      <pubDate>Fri, 09 Mar 2007 04:01:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958646#M7881</guid>
      <dc:creator>Pushpa Kumari K.H</dc:creator>
      <dc:date>2007-03-09T04:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: debug assertion error in threads of c++ under windows</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958647#M7882</link>
      <description>Hi,&lt;BR /&gt;what possible causes did you eliminate with investigation as suggest by the error message ? Just so we don't repeat what you have already done.&lt;BR /&gt;&lt;BR /&gt;You have raised a duplicate at :&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1107108" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1107108&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;You profile shows that you have yet to reward any answer !</description>
      <pubDate>Fri, 09 Mar 2007 04:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958647#M7882</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-03-09T04:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: debug assertion error in threads of c++ under windows</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958648#M7883</link>
      <description>I have not implied any possible analysis after this error.&lt;BR /&gt;&lt;BR /&gt;I dint get to know, how to assign points, I couldn'dnt see any drop down for assigning points</description>
      <pubDate>Fri, 09 Mar 2007 04:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958648#M7883</guid>
      <dc:creator>Pushpa Kumari K.H</dc:creator>
      <dc:date>2007-03-09T04:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: debug assertion error in threads of c++ under windows</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958649#M7884</link>
      <description>Ya, I got to know assigning of points</description>
      <pubDate>Fri, 09 Mar 2007 05:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958649#M7884</guid>
      <dc:creator>Pushpa Kumari K.H</dc:creator>
      <dc:date>2007-03-09T05:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: debug assertion error in threads of c++ under windows</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958650#M7885</link>
      <description>&amp;gt;Ya, I got to know assigning of points&lt;BR /&gt;&lt;BR /&gt;You should look at your profile and assign points to your previous questions from last month too.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1459693&amp;amp;listType=unassigned&amp;amp;forumId=1" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1459693&amp;amp;listType=unassigned&amp;amp;forumId=1&lt;/A&gt;</description>
      <pubDate>Fri, 09 Mar 2007 22:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958650#M7885</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-03-09T22:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: debug assertion error in threads of c++ under windows</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958651#M7886</link>
      <description>&amp;gt;I have not implied any possible analysis after this error.&lt;BR /&gt;&lt;BR /&gt;(I don't know about C++ on windows.)&lt;BR /&gt;&lt;BR /&gt;The obvious thing you need to do is determine if you have a source file named wincore.cpp.  If so, look at line 888.&lt;BR /&gt;&lt;BR /&gt;If not, it is probably some implementation runtime file and you need to look at document mentioned.</description>
      <pubDate>Fri, 09 Mar 2007 22:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/debug-assertion-error-in-threads-of-c-under-windows/m-p/3958651#M7886</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-03-09T22:45:19Z</dc:date>
    </item>
  </channel>
</rss>

