I Win!

Feb. 27th, 2009 05:51 pm
pukku: The first half lead of Bristol Surprise Major with treble in red and two in blue (Default)
[personal profile] pukku
Finally! I have spent the last week fighting with Microsoft to make it possible to develop for TrialDB in a manner I can handle. WCF has a serialization format that's useless, unless you grok Enterprise "Factories" and the like (which I don't), and Microsoft.JScript.JSObject doesn't implement IDictionary<string,object>, and Microsoft.JScript.ArrayObject is a subclass of JSObject.

However, I finally have everything in place.

The magic incantation that finally got everything working was:

object[] arr_obj = ((IEnumerable)(Microsoft.JScript.ArrayObject)value)
                       .Cast<object>().ToArray<object>();


Foo.

Profile

pukku: The first half lead of Bristol Surprise Major with treble in red and two in blue (Default)
Ricky

April 2025

S M T W T F S
  12345
678 9101112
13141516171819
20212223242526
27282930   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 23rd, 2026 04:16 pm
Powered by Dreamwidth Studios