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

Kornél Pál kornelpal at gmail.com
Fri May 22 15:45:09 EDT 2009


I'm aware of this. I just mean that if you convert VB6 source code to 
VB.NET, or that other language variant that targets the JVM, your code 
most likely still will not be platform independent because VB6 source 
code usually is heavily dependent on ActiveX DLLs.


Chris Howie wrote:
> 2009/5/22 Kornél Pál <kornelpal at gmail.com>:
>> I belive that the problem with VB6 is that it massively depends on third
>> party closed source ActiveX DLLs and OCXes written in C that are very
>> unlikely to be available on Linux without Wine.
> No, the problem is that VB6 does not compile things to CIL, it
> compiles them to either native x86 or P-Code.  The MS.NET and Mono
> runtimes don't know how to run anything but CIL (or AOT'd CIL).
> In other words, you can't run VB6 on Mono for the same reasons you
> can't run an x86 app on a PPC machine.

More information about the Mono-list mailing list