https://bugs.winehq.org/show_bug.cgi?id=52024
--- Comment #13 from Jason Brown jbrown@statslog.com --- (In reply to Zebediah Figura from comment #12)
It seems to crash after failing to coerce the (ANSI) string "Hello!" to an integer. Do you have the source of this application? Can you provide any insight into why this is happening?
I do have the source - the code shouldn't be trying to convert the ANSI string Hello! to an integer, instead it should be converting a Unicode (UTF-16LE) string "Hello!" to an ANSI string and store it in a byte array. The VB code looks like this:
Dim la_Bytes() As Byte ' Byte array
la_Bytes = StrConv("Hello!", vbFromUnicode) ' Convert from a Unicode string to an ANSI string and store it in a byte array.
One thing that I've found is that for VB apps under Wine it's almost always required to use the Native OLEAUT32.dll. If you install the VB6 runtime with "winetricks -q vb6run" that will install the native OLEAUT32.dll. You can then use the native override for that DLL and it might fix the problem.