Questions tagged [winprt]

Windows phone runtime component

WinPRT component is used for using native code with managed code while creating a Windows phone application.

14 questions
6
votes
2 answers

Passing image data buffers to Windows Runtime on Windows Phone 8

I'm trying to find an efficient way to pass an image data buffer to a Windows Runtime Component on Windows Phone 8, minimizing the number of times the buffer data needs to be copied. A similar, but more general, question has been asked before: See…
Tomas
  • 61
  • 2
6
votes
1 answer

How to get the array of struct with "byte array" from WinRT C++ to C# in Windows Store app?

Here I have a C# metro app with a C++ WinRT component. I need to do something in WinRT, like assign a photo's name/path, and retrieve photo's thumbnail. First, I write a value struct and retrieve struct array function in WinRT C++ as below. public…
ppcrong
  • 218
  • 4
  • 14
4
votes
0 answers

Error "signature of public member contains native type" in WinPRT

I'm trying to create a runtime component which supports windows phone 8. I had a c++ source, at present it won't support with the windows phone 8, so I'm converting them to windows phone runtime component to make it work with windows phone. now the…
Gopinath Perumal
  • 2,258
  • 3
  • 28
  • 41
3
votes
1 answer

Error “signature of public member contains native type” in Windows phone 8 RunTimeComponent

I'm trying to create a runtime component which supports windows phone 8. Brief Description of the Program is as : Application (C#) is going to fill some data in ref struct A It will call init API of ref class VVoiP with object of ref struct…
3
votes
2 answers

Consume C# dlls in C++ for Windows Phone 8

I have a windows phone 8 app created with Visual Studio 2012 - "Windows Phone Direct3D App (Native only)" project under Visual C++, and a library created with "Windows Phone Class Library" project under Visual C# group having target platform…
Iulian
  • 163
  • 7
2
votes
2 answers

Writing Windows Phone Runtime Components in C#?

Is it possible to write Windows Phone 8 Runtime Components in C#?
djcouchycouch
  • 12,724
  • 13
  • 69
  • 108
1
vote
1 answer

How to use Windows Phone MediaElement with an IStorage file

Within Windows Phone 8 I have a solution whereby I am capturing a video and saving it to local storage using the new WPRT Windows.Storage APIs. When I want to playback the video using a MediaElement control I appear to be stuck as it doesn't…
LewisBenge
  • 2,706
  • 16
  • 20
1
vote
2 answers

Accessing application's documents from device through USB?

I'm working with a Windows Phone 8 application that writes logs to a file on the device. Is there a way to get access to that file? If not, what are my alternatives to seeing log information outside of using Visual Studio?
djcouchycouch
  • 12,724
  • 13
  • 69
  • 108
1
vote
1 answer

Rendering with D3D device in external DLL used in a WinPRT Xaml/DirectX sample has constant black flickering

I have a C++ DirectX-based third-party game engine compiled into a Windows Phone Runtime Component DLL. I'm working on integrating it into a project based off of a Windows Phone Direct3D with XAML App. The game engine DLL uses the the D3D device,…
djcouchycouch
  • 12,724
  • 13
  • 69
  • 108
0
votes
1 answer

java.lang.UnsatisfiedLinkError: Can't load IA 32-bit .dll

Hi I am getting this error: Error loading win32com: java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre1.8.0_60\bin\win32com.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform while running this program: public static void…
0
votes
0 answers

Native C Code in Windows Phone Runtime

I am trying to use a existing c code in Windows Phone. For that I have created a Windows phone runtime component (C++) which has the legacy c code and referring it in my managed WP8 application. I am facing issues in building the solution. I have…
Rajmohan Kathiresan
  • 338
  • 1
  • 3
  • 12
0
votes
0 answers

Get an Image of current location from WP8 map control

I have an WP8 app which allows the user to send there location data to anybody in their contact list. I need an option through which the user could send an image of their location via e-mail. I have a map control in my app. How do I get an image…
Kunal Verma
  • 562
  • 4
  • 15
0
votes
1 answer

VisualState Name and GroupName, WinRT WinPRT

I'm trying to set custom visual states of multiple items like Button, GridViewItem, and ListBoxItem. It seems like I'm missing some states. I searched through the stackoverflow and msdn and could not find a list of possible visual states so that I…
nimatra
  • 604
  • 8
  • 19
0
votes
1 answer

C++ WebView control in Windows Phone 8?

Is there a web browser or web view control available to Windows Phone 8 applications written in C++? I've found a WebBrowser control but that seems to be only available in Windows Phone 7 written in C#.
djcouchycouch
  • 12,724
  • 13
  • 69
  • 108