Hi Allen,
a
href=http://digital.ni.com/public.nsf/websearch/838170FB4A3EA0FB862561C60065C2F7?OpenDocument;Here/a
is a link that talks a little bit more about Error 21. If I
understand your problem correctly, I would lean towards making sure
that you have all of your DLLs on the target machine
I have a dll call to the Kernel32.dll function GetVolumeInformationA.
It works in the development environment and when I build it into an
executable and run the executable on the development machine it also
works, bu when I run the executable on the target machine with only
the LabVIEW Runtime