Hi all
I have a COM object and when editing code intellisense shows me the objects properties and methods but when I am debugging I cannot see the objects properties in the watch window. Is there a way around this - perhaps something else I need to do in my C# code?
Thanks
Paul Newton
Are they declared as public in C#?
In C#, is the class containing the members in question decorated as [ComVisible] and [ClassInterface(ClassInterfaceType.AutoDual)]?
Sorted 😊 - Thanks Alan
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke Sent: 30 May 2018 14:49 To: profoxtech@leafe.com Subject: Re: COM object in debugger Watch window
Are they declared as public in C#?
In C#, is the class containing the members in question decorated as [ComVisible] and [ClassInterface(ClassInterfaceType.AutoDual)]?
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
On Wed, 30 May 2018, at 1:29 PM, Paul Newton wrote:
Hi all
I have a COM object and when editing code intellisense shows me the objects properties and methods but when I am debugging I cannot see the objects properties in the watch window. Is there a way around this - perhaps something else I need to do in my C# code?
Thanks
Paul Newton
[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/1527688144.3636367.1390458416.52DA343... ** 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.
That last reply was meant to include " - Thanks Alan" Paul Newton
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke Sent: 30 May 2018 14:49 To: profoxtech@leafe.com Subject: Re: COM object in debugger Watch window
Are they declared as public in C#?
In C#, is the class containing the members in question decorated as [ComVisible] and [ClassInterface(ClassInterfaceType.AutoDual)]?
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
On Wed, 30 May 2018, at 1:29 PM, Paul Newton wrote:
Hi all
I have a COM object and when editing code intellisense shows me the objects properties and methods but when I am debugging I cannot see the objects properties in the watch window. Is there a way around this - perhaps something else I need to do in my C# code?
Thanks
Paul Newton
[excessive quoting removed by server]