05-02-2011 03:26 PM
Hi all,
I am trying to build an exe with an application that I have been developing and running in L/V with no issues for quite a while. I recieve an error when trying to build that inidcates that there was an error copying the source file Advapi32.dll. The details are as follows:
Error 1 occurred at AB_Destination.lvclass:Copy_File.vi -> AB_Source.lvclass:Copy_SourceItem.vi -> AB_Build.lvclass:Copy_Files.vi -> AB_Application.lvclass:Copy_Files.vi -> AB_Build.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Engine_Build.vi -> AB_Build_Invoke.vi -> AB_Build_Invoke.vi.ProxyCaller
Not sure what this file is only that is has always shown as a dependency in my project. Checking the file, it shows no callers so I am wondering if I can just delete it ?
I'm trying to build in LV 8.6. I found a few older posts about this particular file but none of them really addressed my issue.
Any help is appreciated.
Doug
05-04-2011 10:31 AM
Jordan G
05-04-2011 03:22 PM
There were indeed several errors found during the mass compile but mainly bad vi's. Nothing that mentioned the Advapi32.dll file. I am going to fix all the other errors however and try again and will report back on success or failure.
Thanks
05-06-2011 12:21 PM
The issue has been resolved though the root problem remains a mystery.
I was finally able to sucesfully mass compile the project though this in istself did not resolve the problem. The build would still fail with the same issue surronding the Advapi32.dll file.
What finally worked is to remove that file from the project. It still showed up in the dependencies but would not be included in the built application. In addition however, I had to remove several other dll files from the project. The common link is that none of the dll files displayed a location path in the project explorer. Even ones installed by third party drivers. Once I removed them from the project proper and they simply showed up in the dependencies, the appliction built sucesfully.
Not sure why this is an issue but would like to see some feedback from NI on this to better understand the condition and why it occurs.
Thanks for the assistance regardless
Doug