IL2CPP Callbacks In UWP

Hi Jackal,

Could you please provide a little more context around your project?

From your description it sounds like your doing this with the .NET back-end and trying to replicate in il2cpp:

  • Building a Windows 10 XAML app
  • Modifying C# code within the generated VS project
  • Passing Windows objects (e.g. SwapChainPanel) from modified C# code into APIs exposed by a plugin

Is there a specific error or problem you’re hitting or do you just need general help porting your modified C# code to C++?

The example line of code you gave is not an actual Unity API but instead it appears to be from the Windows Store Native plugin. Are the issues specific to this plugin are you also having issues with Unity specific APIs?

Here are some links to relevant docs and forum posts I found which may be helpful:

https://docs.unity3d.com/Manual/windowsstore-plugins-il2cpp.html