Thank you David! It is a very old version that is for LabWindows 2.2.
The application was developed using quick C. Now it seems that if all modules except the main file are put into an lib file and then link the lib to create an exe, error "-70" will not occur. But if all c files are compiled to obj and than individule obj files are linked to an exe, the "-70" error will guarentee to happen.
I know this question is beyond ni's product and the old stuffs are no longer supported. I just hope that somebody may have similar experience and would like to share an easy answer.