FYI Labview 8.2 has a DLL importer. It reads the header file and DLL, and generates a VI library. It works well except for a few minor issues:
It tries to cram the full name into the icon, so most of it is cut off. It’s tough to pick the proper VI from the pallet unless you use the list view.
For okBTPipeOut it assigned a string for the data output; it gives strange results. I had to manually set it to a pointer to a U8 array.