General information
Category:
Coding, syntax & commands
Title:
Way to tell if SET LIBRARY did not load properly
In my app I have the following 2 lines of code:
set library to gplib50.fll additive
rt_servname = n_servfrdr(rpath)
n_servfrdr is a funtion in gplib50.fll. if the client does not have novell installed, gplib50.fll does not load properly and then they get a "n_servfrdr.prg" not found error.
guess i could trap the
OldOnErr = ON('ERROR')
GPLIBLoaded = .T.
ON ERROR GPLIBLoaded = .F.
set library to gplib50.fll additive
rt_servname = n_servfrdr(rpath)
ON ERROR &OldOnErr
IF !GPLIBLoaded
messagebox("You do not have Novell installed",16,"System Error") "workstation. Multiple signons is not
Does this seem OK or is there a better way?
Brenda
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only