LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there difference between CVI dll and a normal C dll

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

0 Kudos
Message 1 of 5
(3,947 Views)

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?

--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 5
(3,936 Views)

Hi Martin,

 

Thanks for your reply.

 

I asked this out of my curoisity.Smiley Happy

 

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.

0 Kudos
Message 3 of 5
(3,934 Views)

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:

 

http://www.microsoft.com/downloads/details.aspx?familyid=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displa...

 

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

Message Edited by menchar on 05-21-2010 09:19 AM
Message Edited by menchar on 05-21-2010 09:21 AM
0 Kudos
Message 4 of 5
(3,919 Views)

Yes, in VC++ you can choose to link to a static run-time library or to the DLL. See e.g. here.

--
Martin
Certified CVI Developer
0 Kudos
Message 5 of 5
(3,871 Views)