none
Windows Embedded Compact 7 Update 3 problems RRS feed

  • Question

  • Dear Experts,

    I have a problem with Silverlight for windows embedded application on EC7 platform and looking for help.

    Current setup:

    Having a custom platform based on Embedded Compact 7 (EC7) targetting AM37 (using Variscite BSP)

    Developed Silverlight for Windows Embedded application and running the platform.

    Every thing works fine.

    Update:

    Recently using the automatic update updated the EC7 to update 3.

    Rebuilt the platform and deployed it on the target.

    When running any silverlight application on this new build causes application to fail at function

    call LoadResourceDictionary(&appXaml,NULL); with error code.

    No change is made to platform builder project and application project.

    Thanks in advance for any help.

    Kumar


    Kumar
    Thursday, October 20, 2011 12:21 PM

Answers

  • Alin,

    Thanks for the suggestion.  Unfortunately, that's not an option for me.

     

    Kumar,

    We were able to get our application running using Update 3 by turning off BAML creation.  Basically, you add the /BamlOff switch to the <project>.xrpack file.  This is not a great solution long-term because it increases the application size.  Still hoping for a fix in the next update.

    • Marked as answer by SaravanakumarS Wednesday, December 21, 2011 12:39 PM
    Wednesday, November 23, 2011 3:57 PM

All replies

  • Hello Kumar, Sorry for inconvienience.  Can you let us know what error code is returned with LoadResourceDictionary()?

     

    Thanks

    mskim (MS)

     

    Monday, October 24, 2011 5:01 PM
  • Hello mskim,

    Thanks for the reply, LoadResourceDictionary() function returns C00CEE2B.

    Thanks,

    Kumar


    Kumar
    Friday, October 28, 2011 10:09 AM
  • Any update on this?  I'm having the same problem.

     

    Thanks...

    Monday, November 21, 2011 7:10 PM
  • Still it is open for me, for now using only till update 2.

    Thanks


    Kumar
    Tuesday, November 22, 2011 2:05 PM
  • If you add the application as a Silverlight sub-project in the OSDesign project you will be able to run and debug your application.
    Tuesday, November 22, 2011 2:14 PM
  • Alin,

    Thanks for the suggestion.  Unfortunately, that's not an option for me.

     

    Kumar,

    We were able to get our application running using Update 3 by turning off BAML creation.  Basically, you add the /BamlOff switch to the <project>.xrpack file.  This is not a great solution long-term because it increases the application size.  Still hoping for a fix in the next update.

    • Marked as answer by SaravanakumarS Wednesday, December 21, 2011 12:39 PM
    Wednesday, November 23, 2011 3:57 PM
  • Thanks Bahrman,

    We will try disabling BAML off, we already have performance issues with Silverlight, will turning the BAML off reduce further performance?

    Thanks


    Kumar
    Thursday, November 24, 2011 7:05 AM
  • Kumar,

    I don't have any data regarding the performance with BAML on/off.  However, I would think that if it did have an effect it should only be when the XAML is loaded.

    Monday, November 28, 2011 4:10 PM
  • Same problem here. Subscribed and looking forward for an update! Deleting the baml files and adding the /BamlOff worked, but what's the disadvantage of this?

    FYI: Running the project as a VS2008 Smart Device project (not as a Platform Builder subproject).

     

     281940 PID:49c0032 TID:5e5002e [XR] SharedPAL::XmlReader::Read - Error reading xml, hr=0xc00cee2b.
     282193 PID:49c0032 TID:5e5002e Dll list:
     282196 PID:400002 TID:5e5002e PVR_K:(Error): BridgedDispatchKM: ui32BridgeID = -1793 is out if range! [4795, bridged_pvr_bridge.c]
     282196 PID:400002 TID:5e5002e PVR_K:(Error): BridgedDispatchKM: ui32BridgeID = -1793 is out if range! [4795, bridged_pvr_bridge.c]
     282198 PID:400002 TID:5e5002e APPLICATION ERROR: Process/thread terminated before window <Unnamed> was deleted.
     282212 PID:400002 TID:5e5002e PVR_K:(Error): CloseDCDeviceCallBack: system buffer (0xCB198654) still mapped (refcount = 1) [764, deviceclass.c]

    Link to download the Full Platform Builder Debug Ouput of a Debug Build: Link

     



    • Edited by mguntli Wednesday, November 30, 2011 8:09 AM
    Wednesday, November 30, 2011 7:19 AM
  • Thanks for all the help, BamlOff helps to resolve this issue.
    Kumar
    Wednesday, December 21, 2011 12:37 PM
  • There is a new update to the Windows Embedded Silverlight Tools (on 2/14/2012) that should fix this issue - 

    http://www.microsoft.com/download/en/details.aspx?id=26227 

    With this, user should be able to have BAML On.  BAML minimizes the load time and hence recommended to be On.

    • Proposed as answer by John Dr Wednesday, February 29, 2012 9:10 AM
    Tuesday, February 28, 2012 11:50 PM