HighTechTalks DotNet Forums  

VJ# to use C# dll

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss VJ# to use C# dll in the Dotnet VJSharp forum.



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

Default VJ# to use C# dll - 05-20-2005 , 02:25 PM







Hello,

I have a c# dll that I am referencing for my j# program. Say, I want to
access the get accessor of "xyz" property in a file "abc.cs", how would I
call it from my j# program?
I tried the following
int c = abc. xyz; and the following error is thrown ...

Cannot find field 'xyz' in class 'abc'. I know very sure that the property
exists but why is it not being recognized? Any help is really appreciated.
Thanks.


Reply With Quote
  #2  
Old   
Bruno Jouhier [MVP]
 
Posts: n/a

Default Re: VJ# to use C# dll - 05-20-2005 , 03:41 PM






int c = abc.get_xyz();

and also:

abc.set_xyz(val);

"Leo2005" <Leo2005 (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I have a c# dll that I am referencing for my j# program. Say, I want to
access the get accessor of "xyz" property in a file "abc.cs", how would I
call it from my j# program?
I tried the following
int c = abc. xyz; and the following error is thrown ...

Cannot find field 'xyz' in class 'abc'. I know very sure that the property
exists but why is it not being recognized? Any help is really
appreciated.
Thanks.




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 - 2008, Jelsoft Enterprises Ltd.