We have a legacy VB6 application that is crashing at a certain point on Windows 10, but not on Windows 7. It also doesn't crash when run via the VB6 IDE (on either OS).
On trying to track down the differences I discovered that msvbvm60.dll is subtely different on Win7 and Win10. Specifically, it has the same version number and size, but different dates. Subsequent binary comparison shows that the versions are indeed different.
If we force the Win10 machine to use the Win7 version of msvbvm60.dll, the crash is fixed. Can anyone shed any light on the difference between these versions? I have confirmed that the two versions are the same as you get on clean installations of Win7 and Win10, so it is not due to any corruption.
The crash happens while trying to display information on a grid (MSFlxGrd.ocx). However, the grid works most of the time. The data set is larger than usual, but only 8000 rows so not extreme. The application is very convoluted, so it is not easy to examine the data or give more information.
The system event log shows the following:
Faulting module name: MSVBVM60.DLL, version: 6.0.98.15, time stamp: 0x49b01fc3
Exception code: 0xc00000fd