RE: Silverlight for Windows Embedded

"Gough, Christopher" <[email protected]>
Newsgroups gmane.comp.windows.off-topic
Message-ID <E4AE3AC01780CD4EB19102EB761A72F93495B187A5@USMAIL2K701.us.micros.int>
Thanks so much Shawn for your reply,

It turns out that .NET munges the signature of the calls a bit so we used a combination of PreserveSig and explicitly specifying the in and out parameters seems to have fixed the problem. Now we are working through some issues with rooting our objects so they don't get garbage collected. The XR framework callbacks just don't like it when the target of the callback has been garbage collected.

We are doing this project using loose XAML and most of the problems we run into are just a long whirlpool of trial and error, but we are making progress.
I just hope it's going to be fast enough.

Chris

From: [email protected] [mailto:[email protected]] On Behalf Of Shawn A. Van Ness
Sent: Wednesday, June 16, 2010 12:16 AM
To: [email protected]
Subject: Re: [OT] Silverlight for Windows Embedded



Sorry for slow reply, but if you post your COM interop declarations I might be able to spot something.  I know a little bit about the XR framework.

-S

On Thu, Jun 10, 2010 at 7:05 AM, Gough, Christopher <[email protected]<mailto:[email protected]>> wrote:
We have a hand coded pseudo Silverlight C# application where we consumed the XR Framework via COM interop. I'm looking for some sample C# code that consumes the IXRDelegate<ArgType> type. Rendering the xaml etc has gone okay, but we have hit an absolute dead end with events beyond the Button.OnClick, doing mouse over for example is causing some severe stability problems.

Any help is appreciated, we are sort of out on an island here because no one in their right mind should be doing this.

Chris





------------------------------------

Yahoo! Groups Links
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.