HI,
I'm not familiary wiht the WinIO functio that you are using here but there are a couple of thisngs to watch out for when doing low-level access.
The most common problem with low level IO functions is that if they were created for Win9x, they will not work under Win NT/2000/XP. NT based OSes require you to have kernel access to do any low level communication. Make sure that the WinIO library that you are using is aupported under Win2K.
Since you have the code for the dll available, you could attach LabVIEW as an external process in your C compiler and debug the dll; this can helps you track down the exact function that is failing.
Just my 2 cents.
Regards,
Juan Carlos
N.I.