All I want is to create an instance of Class1 from SmallTalk and call the "theString" property which is supposed to return a string. I am unfamiliar with SmallTalk (my mentor is using it) so I am not sure about the implementation there. I do know that the SmallTalk implementation works with other DLLs that have been created, yet I don't have the source for those DLLs. I keep getting an error in the SmallTalk that is stating it can't find the "theString" property.
My Questions:
How do I create a C# DLL that can be used over a dotnet bridge?
Is anyone here an expert on the dotnet bridge?
Would this be easier if I were to use C++ instead of C#? (seems that the dotnet bridge is maybe meant for C++ rather than C#)
Expand|Select|Wrap|Line Numbers
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace simpleDLL
- {
- public class Class1
- {
- private String myString;
- public Class1()
- {
- myString = "Hello World";
- }
- public String theString
- {
- get { return myString; }
- set { myString = value; }
- }
- }
- }