Saturday 15 May 2010

c# - Windows Phone 8: access UI Dispatcher in C++ code -


I am working on a Windows Phone 8 app that supports mixed C ++ for UI and C ++ for built-in support. # I have some examples where I need to run some C ++ code on the UI Dispatcher Thread (IE GetupposementSSNC ()).

I have tried a method of callingback from C ++ to C # which runs in the UI thread and then calls and runs the C ++ method:

  Auto Window = Windows :: UI :: Core :: Core Window :: GetForCurrentThread ();   

However this is returning empty. Do I have any way to accomplish this?

A few days ago I had a similar problem, always returning empty I used to use WinRT in MSDN ( According to you, you can use it in WP8 too. Core Application. MANView. Corvando

No comments:

Post a Comment