How to migrate a MapBasic 32 bit app that uses 32 bit Windows libraries to a MapInfo Pro 64 bit app

Products affected: MapBasic®
With the move to 64-bit MapBasic® applications, it's strongly advised to use .NET to carry out functions that traditionally made calls to Windows libraries directly.

MapBasic examples of how to do this can be found here.

UPDATED:  October 23, 2017