Hi All,
I am trying to build an incredibly simple VI into a DLL.
One input, wired directly to output.
Everything works fine (DLL builds, have tested it in another LV app) if my input/output is of type double.
However, if I change the I/O type to be I16, the DLL builder crashes (at the end of the build) with the error code -2147221458 (undefined error). Yet when I change it to I32 all is well, but U16 crashes again. Using I8 is fine, but U8 crashes

I have checked, and double checked the function prototype in the Builder, everything is as it should be. Changing the calling convention has no affect.
I have searched this forum, but have not come accross any similar problem, so I assume its something silly I am doing wrong?
Any help on this would be much appreciated.
I have tried to attach both the VI and build script to this post, but they seem to disappear when I click Preview!
Many thanks!
Neil
ps: Using LV 7.0 on Win2k (SP4)