Can a VB6 component be compiled to 64 bit?

2020-03-01 07:30发布

问题:

Is there a way to compile a VB6 component into 64 bits?

My feeling is that the answer is "no", but I would like to confirm this.

Please, if you can, paste a link to an authorative source that would confirm.

回答1:

No. I hope this counts as authoritative.

64-Bit Windows
Visual Basic 6.0 runtime files are 32-bit. These files ship in 64-bit Windows Operating Systems referenced in the table below. 32-bit VB6 applications and components are supported in the WOW emulation environment only. 32-bit components must also be hosted in 32-bit application processes.

The Visual Basic 6.0 IDE has never been offered in a native 64-bit version, nor has the 32-bit IDE been supported on 64-bit Windows. VB6 development on 64-bit Windows is not and will not be supported.



回答2:

No it cannot (well Microsoft has not released a compiler to compile it for a 64-bit environment), but this does not mean that it won't run on a 64-bit system. To run it in conjunction with IIS, you'll need to install the 32-bit version of IIS.



标签: com vb6 64-bit