It is easy to use RW Net DLL with MapBasic. Just include the file called "rwnet_header.def" in your project. This is also shown in the sample applications.
An example of a full-blown MapInfo application based on RW Net DLL is "RouteFinder for MapInfo".
If you want to use TAB as output format, MITAB.DLL should be stored somewhere on the "windows path": C:\windows\system32\ or c:\program files\mapinfo\Professional\. The same folder as rwnet.dll will not do.