VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't load a dll into LabView Realtime. Missing export 'LoadLibraryExW' error.

I built a Simulink dll using NI Phar Lap Real-Time & Windows Target. I can load and run the dll in standalone LabView. However when I take the dll to LabView RT and try running it, I end up with the following error

Error Loading ‘NIVeristand_MdlWrap.dll’. Missing export ‘LoadLibraryExW’ from Kernel32.dll

 

I am using VS 2010 to build the dll. LabView version is 2016. Any help to resolve this issue is greatly appreciated.

0 Kudos
Message 1 of 3
(2,701 Views)

Hi pk68,

 

From the looks of the deployment log, some of the MIT packages can be found without an issue, just this one is having an issue. Have you tried reinstalling the MIT to the target? Something could have gone wrong with deploying that file.

 

Also, for a little context, what is the target are you trying to run this on?

William R.
0 Kudos
Message 2 of 3
(2,640 Views)

Hi William,

    Redeploying MIT on the target machine resolved the issue. Thank you for your help

0 Kudos
Message 3 of 3
(2,633 Views)