Using classes from the Microsoft.VisualBasic.Compatibility.VB6 namespace in a .NET Framework 4+ project yields the following warning:
Warning BC40000: <Class name> is obsolete: 'Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
The project uses the classes LabelArray
, TextBoxArray
and PictureBoxArray
as well as the methods Format
, SetItemData
and GetItemData
from the Support
module.
I'm aware that these classes are remnants of the VB6->VB.NET conversion wizard available in ancient Visual Studio versions and should not be used for new development. I am also aware that "not supported" means that I'm on my own if anything breaks.
That having been said, I am trying to assess the risk of switching an old legacy library that still uses those classes from x86 to AnyCPU, so that it can be used in a 64 bit host application. According to some preliminary tests, everything just "seems to work".
Apart from not being officially supported, are there any concrete known issues with using classes from the Microsoft.VisualBasic.Compatibility.VB6 namespace in a 64 bit process?