This is a Digital I/O question and should be posted to the Digital I/O section of Developer's Exchange. I can tell you that you CANNOT rename the DLL and expect it to work. That DLL is used by the setup and configuration tools for NI-DAQ and must remain nidaq32.dll. There are some digital I/O examples in C:/Program Files/National Instruments/NI-DAQ/Examples that may be able to help you.
Best Regards,
Chris Matthews
Measurement Studio Support Manager