The net_avail is a problem I know of. Its down to the bluesoleil software itsself. It only reports on network availability when the phone is first connected. If you restart the app without disconnecting then bluesoleil doesn't rereport the network status. Its whats causing me the most head aches in converting my mobilephone plugin.
Sonicxtacy02. you can check where its looking for the dll by adding a message box to output the path setting.
add this line
msgbox Environment.GetEnvironmentVariable("path") after the path is set.
the reason to do this is that you cannot set a variable path to a dll but if the dll is in the local path then its found. so I set the path to include where the application is runnin from which is why the dll need to be in the same directory. If you know a better or different way I would be interested.