Hi, we have the first customer which wants to use UltraLite/ML sync in an universal app. As far as we can see, this is not suported right now. Can we get a short statement on this subject: will it be supported and when? Or do we have to use SQLite and handcraft synchronization? Which I wouldn't want to do. Kind regards, Michael |
The UltraLite WinRT components for Windows 8.1 can be used in a UWP app. These are found in %SQLANY17%\UltraLite\WinRT. Sorry, but these dll's cannot be used in an Universal App. If you try to reference them in Visual Studio 2015, you get an error message. Can you provide us with a walkthrough ? TIA Meinhard
(11 Feb '16, 14:50)
Meinhard
In my VS 2015 I can do the following: 1. Create a blank Universal Windows App 2. Right click on References, click Add Reference..., browse to UltraLite.winmd in the SQLA install that is appropriate for the architecture, click OK. The reference is added. Note that you cannot build an architecture-independent app because the UltraLite WinRT components are architecture-dependent. Can you tell me what error you are getting?
(11 Feb '16, 16:56)
Andy Quick
Thx Andy, I can add the assembly to the project now, without VS 2015 complaining, but when I try to run it I get : at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD) at UltraLite.DatabaseManager.Init() ...
What a pitty, any plans to change this ?
(13 Feb '16, 04:53)
Meinhard
I am guessing the cause of that error is a missing reference to the MS VC++ 2013 Runtime Package for UWP apps, on which UltraLite for WinRT depends. There are no plans to release an architecture-independent UltraLite for WinRT as it depends on natively built UltraLite C runtime libraries.
(16 Feb '16, 13:31)
Andy Quick
|