Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everyone,

I have an error, 0x80040206, An unexpected internal error was detected?

I am working on a digital signal broadcasting project. At solution there are 6 projects and huge numbers of file(cpp,header). So i will write about the function where the error is produced.If anyone ask i can post all the file or project.

The function that gives error;

C++
HRESULT __fastcall CAceRfManagerBda::ParseDvbServices(ACE_DVB_BOUQUET_INFO *pInfo)
{
  HRESULT hr = S_OK;

  pInfo->lNumServices = 0;
  if(!m_pIMpeg2Data)
     return E_UNEXPECTED;

  DWORD dwServices = 0;
  WORD wNumSections = 0;
  CComPtr<isectionlist> cpISectionList;
  Sleep(100);

  // list of Transport streams on a transponder
  CDvbServicesList* pTSList = new CDvbServicesList;
  if(!pTSList)
  return E_OUTOFMEMORY;

   DWORD dwTimeout = 10000; // msec

   //Note: in a SECTION first part of section data is byte swapped

   // parse NIT - collect TSID's and network names of this transponder
   hr = m_pIMpeg2Data->GetTable(0x10, 0x40, NULL, dwTimeout, &cpISectionList);

   if(FAILED(hr))
   {
      DBG_PRINT("ParseServices GetNumberOfSections error %08X", hr);
      delete pTSList;
      return hr;
   }
 }


hr does not return S_OK and function returns the metioned error.

The line that gives error is:

C++
hr = m_pIMpeg2Data->GetTable(0x10, 0x40, NULL, dwTimeout, &cpISectionList);



The GetTable function is a function of system header file named mpeg2data.h (plz look:https://github.com/ofTheo/videoInput/blob/master/videoInputSrcAndDemos/libs/DShow/Include/mpeg2data.h[^]



Does anyone advise me how can i managed to solve the problem.
If there is any misunderstanding please comment

Thanks
Posted
Updated 10-Sep-14 5:03am
v3
Comments
Richard MacCutchan 10-Sep-14 10:31am    
You should ask the person who wrote this code.
George Jonsson 10-Sep-14 21:43pm    
It is amazing what scams exist out there. One site even claims to repair this specific error.
I don't think so. :P
How To Repair 0x80040206[^]
Bernhard Hiller 11-Sep-14 2:35am    
That's a spam site! Or even worse....
George Jonsson 11-Sep-14 2:50am    
You are right. I should have phrased it differently.
Member 10902205 11-Sep-14 2:31am    
yes, you are right, i have already ask him for ten or fifteen times:) He doesnt return me. So i am looking for other options to solve

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900