Re: Call to WinAPI Kernel32.dll doesn't work in runtime

2004-03-01 Thread Jeremy L
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 and that they are
located in an accessible directory.  Good Luck!

Jeremy L.
National Instruments



Call to WinAPI Kernel32.dll doesn't work in runtime

2004-02-27 Thread CAW
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 installed it does not run.  It produces error code
21.  Any ideas as to the cause of the problem?

Allen