• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » WinCE » WinCE forum » A very confused question in application on WinCE6.0
Share
WinCE
  • Forum
Options
  • Subscribe via RSS

Forums

A very confused question in application on WinCE6.0

This question is not answered
yan liu1
Posted by yan liu1
on Jul 16 2012 23:04 PM
Prodigy170 points

Hi,

      Recently , I encounted with a very confused question:

1.   when I play video depend on directshow on WinCE6.0 with the application I wrote based on .net2.0 (as application A),the application is work OK, and there is nothing wrong with the application.

2.  I run another application wrote still based on .net2.0(As application B), the application is ok still, and there is nothing wrong with the application .

3. application A and  application B run together in different process, the two applications work correct, there is nothing wrong with them.

4.  when I put the application A and application B in one  process(as application C), put this two applications into two thread , if the video player thread not run ,  the application C will not crash, but when the video thread run together with B thread run ,the application C will always crash. and the error messages as follows:

  Error

 ClientReceiveForm.exe

NotSupportedException

at...........

---------------------------------------------------

 above information is somehow one case of the error informations , and the error place is not common , this time error happens here ,another time error happens there,and the error message can't be followed by debug in application.

   so I guess if the stack and heap have crashed ? if there is anyone has the same situation about this?

  Hope for your reply

 

 Liuyan from company NovaStar.

 

wince6.0 application error
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • yan liu1
    Posted by yan liu1
    on Jul 20 2012 21:31 PM
    Prodigy170 points

     This Problem is track these days , and I build the NK.bin with debug mode, this problem appeared too. and the information I get from DNW is as follows:

        Buffer underflow when the system load some dll files.

      and I am really very confused that how this happened?

    buffer underflow
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Adeneo Embedded support team
    Posted by Adeneo Embedded support team
    on Jul 24 2012 03:35 AM
    Genius5285 points

    Did you change the default priority of your threads when writing application C? Do you have variables shared between both threads of application C? If so, do you have some sort of protection mechanism for concurrent access?

    Adeneo Embedded Support team
    Contact us at sales@adeneo-embedded.com

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yan liu1
    Posted by yan liu1
    on Jul 24 2012 03:45 AM
    Prodigy170 points

    apart from the message "Buffer underflow "captured when debug,there is another  message printed on the DNW :

     

       GDI Handles Grow from 863 to 896.....

    this message just print after the Application crash.

    I  read from the literature <WinCE6_0fundanmental.pdf>, it says:The number of threads is not theoretically limited, but that number is limited by the number of available descriptors. so if my application has too many descriptors ? and how I can get the number of descriptors??

    Best regards.

    Liuyan From company NovaStar.

    descriptors
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Adeneo Embedded support team
    Posted by Adeneo Embedded support team
    on Jul 25 2012 16:27 PM
    Genius5285 points

    As this looks to be a .Net multi threaded application issue I would suggested looking at MSDN for any guides for related to Multi-threaded .Net application developement.

    http://msdn.microsoft.com/en-us/library/aa446528.aspx

    Adeneo Embedded Support team
    Contact us at sales@adeneo-embedded.com

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yan liu1
    Posted by yan liu1
    on Aug 01 2012 06:03 AM
    Prodigy170 points

    Hi,

       I refered to the webpage as you metioned above,but , I can't get any message usefull about this problem. if there is something wrong with the Display Driver??

    what is the meaning about the parameter of register in DSS?


    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences]
        "RenderMethod"=dword:2

    [HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\VMR]
        "RenderingPrefs"=dword:8

    ; Bits per pixel setting for compositor backbuffers
    [HKEY_LOCAL_MACHINE\SYSTEM\GWE\Compositor]
        "OpaqueBufferBPP" = dword:18

     

    [HKEY_LOCAL_MACHINE\SYSTEM\GWE]
        ; "PORepaint"=dword:0 - the display driver handles everything
        ; "PORepaint"=dword:1 - gwe should save and restore the bits
        ; "PORepaint"=dword:2 - gwe should invalidate and repaint
        ; "PORepaint"=dword:3 - gwe and driver need to save video memory
        ;
        "PORepaint"=dword:0

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yan liu1
    Posted by yan liu1
    on Aug 03 2012 03:38 AM
    Prodigy170 points

    Hi ,

           I tried the method as you suggested ,but the problem has no change. I tried another platform which the chip is S3C6410 ,and the OS serve I created is similar to the Platform I used now with TI AM3703, the only difference is that the BSP is different. but the Application runs well  at S3C6410's platform .so this can means that ,this problem is caused by BSP ???

           if any one has some opinions about this problem

     

          thanks very much

    best regards!

    A very confused problem
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use