[Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform

Sergio A. Hernandez info.geex at gmail.com
Tue May 19 21:00:13 EDT 2009


VB 6.0 is not .net nor asp so you can't use the GAC because this dll is not
a .NET assembly.
However you can try to use a pinvoke
you must include System.Runtime.InteropServices
//pinvoke
using System.Runtime.InteropServices
[DllImport(Library)]
private extern static *datatype* *name*(x,...)
...
public *function*(x, ...)

It is the only thing I can suggest you.
But, honestly dont think will work.


On Tue, May 19, 2009 at 3:35 AM, kuse <marcus at in-process.se> wrote:

>
>
>
> dipesh patel wrote:
> >
> > i have a .dll created in visual basic 6.0.
> > now i want to run that .dll in linux platform, so how can i do this?.
> > is it possible with mono framework?
> > if so then can you guide me how to start?, how to compile?, how to
> > execute?
> > can you tell me what are the steps to use mono framework?
> >
> > i will be thankfull to all of you...
> >
> >
> >
> >
> >
>
>
> VB 6.0 isn't .Net which is what Mono is for other paltforms than Windows,
> so
> that DLL wont work through Mono, check out the wine-project instead.
> http://winehq.org
> --
> View this message in context:
> http://www.nabble.com/DLL-Created-in-Visual-Basic-6.0-can-run-on-cross-platform-tp23611949p23612825.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090519/f95bf480/attachment.html 


More information about the Mono-list mailing list