I embedded Mono runtime 3.12 in my QT c++ app on Os x 10.8.5 and try to get
generic class in my c++ app.
Case 1:
c#
namespace TestDictionary
{
public class Class1
{
public Dictionary DictionaryField;
public static void Dump (Dictionary dictionary)
{
C
@EdwardNedHarvey: Thank you very much for your important advice.
@RobertJordan: Sorry, I misunderstood the process. I though when I load the
main assembly into the domain, I can access all classes and methods of other
assemblies referred by main assembly from the image of main assembly. Just
tried
> From: mono-list-boun...@lists.ximian.com [mailto:mono-list-
> boun...@lists.ximian.com] On Behalf Of mimi
>
> public Dictionary DictionaryField;
Unrelated to your actual question, it's recommended that you make public things
Properties instead of Fields.
public Dictionary FooDict { get
On 10.03.2015 20:24, mimi wrote:
c++
MonoClass* classDictionary = NULL;
classDictionary = mono_class_from_name(image, "TestDictionary",
"Class1");
I compiled TestDictionary.dll and Playstkop.Toolbox.exe. classDictionary
returns NULL. I digged into mono_class_from_name