Compiling NIDAQ mex files with CW Pro 5

Has anyone recently compiled a .mex file with CodeWarrior and
included the National Instruments NIDAQ libraries in the project ?
Last summer I successfully built a few .mex files which call NIDAQ
functions. Now I'm having trouble recompiling those same projects,
and I guess that's because the more recent versions of Codewarrior
(Pro 5) and the NiDAQ libraries (4.9.4) which I use now have
introduced a problem. I have had no success in tracking down that
problem.

If someone has an example of a CW project which compiles a .mex file
that calls NIDAQ functions, and you could make that available, that
would help.

Allen Ingling