05-20-2010 10:33 PM
Hi All,
I want to know is there any difference between C dll and CVI dll?
If any body has idea on this, Pls reply back to me.
Thanks,
Harika
05-21-2010 03:26 AM
A DLL built in (say) Visual Studio or Borland C can have the bits of the run-time library it needs linked in, so it is 'stand alone'.
A DLL built in CVI will need the CVI run-time engine to be installed on the target machine.
Is there a particular reason you are asking?
05-21-2010 03:33 AM
Hi Martin,
Thanks for your reply.
I asked this out of my curoisity.![]()
If my understanding is correct, to use a CVI dll, we need CVI run time engine on our PC.
but to use visual studio or borland C dll, we need not have any particular dependency engines to be installed on our PC.
Correct me if I am wrong.
05-21-2010 11:18 AM - edited 05-21-2010 11:21 AM
Are you sure about that? Visual C++ has runtime libraries that need to be deployed in order for an executable to work as described on this MS site:
So I'd be surprised that somehow they manage to statically link all the runtime dependencies for a DLL if they don't/can't do it for an executable.
Even if you include the runtime support in the distribution, wouldn't they deploy as separate DLL's? Are you saying that there's static library equivalents for all of VCPP runtime support?
Menchar
05-24-2010 04:58 AM
Yes, in VC++ you can choose to link to a static run-time library or to the DLL. See e.g. here.