Describe the bug
War of Worlds performs a getbtvl() on an empty Btrieve file (ELWWOWC.EMU) causing MBBSEmu to crash.
There is logic in GetRecordByOffset() to throw an exception if there is no record found at the current position/offset. This is the error being thrown. Because getbtvl() is void and doesn't return an error in this case, we need to verify how Btrieve handles this case internally.
Module Information
Describe the bug War of Worlds performs a
getbtvl()
on an empty Btrieve file (ELWWOWC.EMU
) causing MBBSEmu to crash.There is logic in
GetRecordByOffset()
to throw an exception if there is no record found at the current position/offset. This is the error being thrown. Becausegetbtvl()
isvoid
and doesn't return an error in this case, we need to verify how Btrieve handles this case internally.Do we just return a null record?