LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping and unmapping network drive

Hi, Here

     I am a CVI 8.0 user. I want to use API functions in winnetwk.h

But i found project link error with undefine symbol "_wnetaddconection2A"

What's the problem?

 

i add winnetwk.h

windows.h as head files

0 Kudos
Message 1 of 2
(2,923 Views)

Hello -

 

You will need to add MPR.lib to your project.  This lib will only be available if you're using the full version of CVI, and if you've installed the Windows SDK.  If you are using full, but didn't install the SDK, you can repair your installation and select it.

 

Once the SDK is installed, you should be able to find the lib at C:\Program Files\National Instruments\CVI80\sdk\lib\msvc\Mpr.Lib

 

NickB

National Instruments

0 Kudos
Message 2 of 2
(2,913 Views)