LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV5.1 Application Builder Problem

I have two problems generating a EXE file with App.Builder.

1) The application uses a external DLL.
As soon as the DLL is included as "Support File" in the Application
Builder settings, the "Build" process every time hangs up with
"Error 1 occurred at xxx.dll - Librarian Path Location.vi"
which makes it impossible to generate a Installer Routine.

2) Finally when the application is compiled without the DLL as
support file and installed via the generated Installer from
App.Builder on another machine with (different directory structure)
and the DLL copied afterwards, there always appears the
"Searching/Loading VI" window when the Application is started,
independent where the DLL is located.

Is ther
e any workaround, escpecially Problem number 2

Any help will be appreciated
Thanks Kurt



Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 3
(2,816 Views)
Dear Kurt,

I've seen this problem (1) before, and I think that (2) may be related. I
fixed it by making the reference to the DLL in my call library function an
absolute path, instead of a relative path.

kurt0001@my-deja.com wrote:
>I have two problems generating a EXE file with App.Builder.>>1) The application
uses a external DLL.> As soon as the DLL is included as "Support File"
in the Application> Builder settings, the "Build" process every time hangs
up with> "Error 1 occurred at xxx.dll - Librarian Path Location.vi">
which makes it impossible to generate a Installer Routine.>>2) Finally when
the application is compiled without the DLL as> support file and installed
via the generated Installer from> App.Builder on another machine with (different
direct
ory structure)> and the DLL copied afterwards, there always appears
the> "Searching/Loading VI" window when the Application is started,> independent
where the DLL is located.>>Is there any workaround, escpecially Problem number
2>>Any help will be appreciated>Thanks Kurt>>>>Sent via Deja.com http://www.deja.com/>Before
you buy.
0 Kudos
Message 2 of 3
(2,816 Views)
Kurt,

Try to place the DLL in "c:\windows\system" which is the default location
for Labview when searching a DLL. Also Call Library Function in Labview
finds the DLL there without specifing the absolute path.

Eyal Sapir



kurt0001@my-deja.com wrote:

> I have two problems generating a EXE file with App.Builder.
>
> 1) The application uses a external DLL.
> As soon as the DLL is included as "Support File" in the Application
> Builder settings, the "Build" process every time hangs up with
> "Error 1 occurred at xxx.dll - Librarian Path Location.vi"
> which makes it impossible to generate a Installer Routine.
>
> 2) Finally when the application is compiled without the DLL as
> support file and installed via the generated Installer from
> App.Builder o
n another machine with (different directory structure)
> and the DLL copied afterwards, there always appears the
> "Searching/Loading VI" window when the Application is started,
> independent where the DLL is located.
>
> Is there any workaround, escpecially Problem number 2
>
> Any help will be appreciated
> Thanks Kurt
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
0 Kudos
Message 3 of 3
(2,816 Views)