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

asked 09 Feb '16, 05:38

Michael%20Fischer's gravatar image

Michael Fischer
645111527
accept rate: 12%

edited 12 Feb '16, 02:47

Volker%20Barth's gravatar image

Volker Barth
40.1k361549819


The UltraLite WinRT components for Windows 8.1 can be used in a UWP app. These are found in %SQLANY17%\UltraLite\WinRT.

permanent link

answered 09 Feb '16, 13:48

Andy%20Quick's gravatar image

Andy Quick
2.2k2737
accept rate: 45%

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() ...

Note that you cannot build an architecture-independent app because the UltraLite WinRT components are architecture-dependent.

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×49

question asked: 09 Feb '16, 05:38

question was seen: 2,883 times

last updated: 16 Feb '16, 13:31