LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to eliminate advapi32.dll error in Labview RT

Hi all,

I am having a problem deploying a RT application to the remote machine. I get an error stating Error loading 'WS2Help '.dll: Missing
export 'AllocateAndInitializeSid' from ADVAPI32.DLL'  After searching the internet for a while I know that this is a dll that the labview realtime os cannot use.  However I do not know if there is a tool/debugger that I can use that will tell me what vi's are calling this dll.  If I know what is calling it I figure I can figure out an alternative to that function.  Any help is appreciated. Thanks.

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

will this help you?

 

Mathan

0 Kudos
Message 2 of 5
(3,515 Views)

I was reading that thread before, but thank you because I see there is a new response.  Perhaps my idea that the dll is not supported is incorrect.  The odd thing is when I deploy it, I will get the error but the program will run.  However if I build an executable to deploy it (I want the program to start when I power on the box, as far as I know I need to build the .rexe for this) I do not get a successful deploy. I wish I would get an error code in one of these steps at least.

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

Hi KidMoe,

 

In addition to the information (and the program) from the thread that mathan linked, here is a little more about that dll.  WS2Help.dll is used by Internet and network applications.  Specifically, the file contains functions used by the Windows Sockets API.

Message 4 of 5
(3,480 Views)

That is a Photoshop file, is that installed on your PC? If so, reinstall Photoshop to see if that rectifies the problem.

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