HighTechTalks DotNet Forums  

strange behavior of interop

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss strange behavior of interop in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
mdk
 
Posts: n/a

Default strange behavior of interop - 12-28-2005 , 09:48 PM






Hi all,

In my csharp project I use an activex component. The component has two
interfaces, IA and IB, both contain methods and properties. In MS
C#.net Object Browser I can see IA properties marked as properties and
their names have not get_ or put_ prefixes, while IB properties in the
object browser are all marked as method (marked with the method icon)
and all have get_ / put_ prefixes. Thus, if I call the properties in c#
code without the get/put prefix i will get compiler error " does not
contain a definition for xxx".

Has anyone ever encountered this problem?

Many thanks

Timmy


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.