June 29, 2014
WP8 Lumia device USB not detected in VirtualBox W8 guest
Labels: lumia, nokia, virtualbox, windows 8, wp8
Some WP8 in app purchase errors
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))this means you call CurrentApp.RequestProductPurchaseAsync not from UI thread
error code 805a0194(in a dialog) means that you need to publish your app (maybe in beta) via Store before you can test purchases.
Labels: development, error, microsoft, programming, store, windows 8 phone, windows store, wp8
June 28, 2014
windows phone LINQ "already exists" issue on empty table
Update this happens not only when you have the only primary key field. Even when primary key is autogen, this exception happens when you put same value as you deleted previously in same DataContext session. I don't have workaround yet. Do you?
LINQ to SQL has strange effects when you try to reuse DataContext (re-creating of DataContext after every update/delete operation has different bad effect).
For example if your sole field is actually your primary key (it is unique at any moment and not null) and you delete it and in the same DataContext session insert same value, you will have InvalidOperationException. In my case the table is even empty!
[Table(Name = "Receipts")] public class Receipt : PropertyChangedBase { protected String _s; public Receipt() { } public Receipt(String s) { _s = s; } [Column(IsPrimaryKey = false, CanBeNull = false, AutoSync = AutoSync.Always)] public String sIt seems that after delete you have to recreate DataContext. Will try this strategy.
Labels: c#, development, linq, microsoft, programming, sql, windows phone, wisual studio
June 14, 2014
installation problem: Windows 8.1 x64 under virtualbox
This enables cpu instruction CMPXCHG16B, read wiki for more info
Labels: installation, OS, virtualbox, windows 8