RE: Problem with VFP's debugger not seeing C# object's properties

Author: Tracy Pearson

Posted: 2018-09-10 at 08:41:18

The Attribute of [ComVisible(true)] is needed on the object you want to see

the properties. Or just the properties/methods to expose to COM.

https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.c

omvisibleattribute?view=netframework-4.7.2

I've used it recently.

HTH,

Tracy

-----Original Message-----

From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of

mbsoftwaresolutions@mbsoftwaresolutions.com

Sent: Saturday, September 08, 2018 5:00 PM

To: profoxtech@leafe.com

Subject: Re: Problem with VFP's debugger not seeing C# object's properties

On 2018-09-08 10:29, Koen Piller wrote:

> Mike,

> VFP debugger will show you the properties of those objects only when

> you

> select the object selve, not the parent of the object, which you have

> done

> in this picture

> Rgds,

> Koen

Hi Koen,

Even if I select the object via single or double click, a dropdown will

not appear and won't let me see the properties of the lower level

objects. See soundless quick demo showing that:

https://www.screencast.com/t/nYRe4eXp

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000b01d4490b$f43503d0$dc9f0b70$@powerchurch.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 Tracy Pearson