[mono-vb] Creating instance of VB assembly in native linux c application

alexs alexs at callview.com
Mon Aug 14 06:47:55 EDT 2006


Hi all,

I'm investigating mono so that we can avoid rewriting VB.NET assemblies  for
a possible linux port of our software...

I have created a simple VB.NET assembly with static and instance methods and
compile is in Visual Studio. On Linux in c, I can load the assembly, and
invoke the static methods no problems. But when I try and create an
instance, it fails - well, "mono_class_from_name" is what fails (I'm using
the right namespace and class name!)...

If I recreate the  assembly in C# with the same methods, and compile again 
on VS, I can create an instance of it no problems in linux, and can call an
instance method.

Does anyone have an ideas as to why this could be?

Thanks
Alex
-- 
View this message in context: http://www.nabble.com/Creating-instance-of-VB-assembly-in-native-linux-c-application-tf2102633.html#a5794595
Sent from the Mono - VB forum at Nabble.com.



More information about the Mono-vb mailing list