A very basic question on platform independence

  • Thread starter Thread starter Sriram
  • Start date Start date
S

Sriram

Hi,
I have worked in VB6 and now I have started working
in VB.Net.It is said that .NET code is platform
independent atleast within Windows operating systems.
which I understand is made possible through IL which is
processor and OS independent.
My question is if we have a VB 6 exe that too runs on all
windows operating systems and on Intel , AMD and Cyrix
processors ( not very sure about this as I have run only
on Intel !) even though we have compiled in on one specifi
machine (say an intel machine) .
VB6 is compiled to native code (whoch ties it to t he
platform) and still it runs on all these windows
platforms .
Can anybody explain how this possible?

Also please check out the following link :
http://www.mastercsharp.com/article.aspx?
ArticleID=20&&TopicID=10
and look under subtopic Processor independence. . it says
that with VB/C ++ we had to make separate build for each
processor. I dont think this is true.

Please comment on this.

Thanking you in advance.

Regards,
Sriram
 
Hi Sriram,

Those processors you mention are all Intel '86 compatible.
(The ones used with a Windows or ms-Dos operating system)

Although VB6 uses also a runtimer

I hope this helps?

Cor
 
Back
Top