btrieve & PC-Anywhere

a batch file loads btrieve
 a btrieve application is started
   the btrieve application opens its btrieve files
       then calls PC-Anywhere
            which opens its own btrieve files
                  and then runs a script
                      which transfers a file
                      and receives a file from
                      a remote computer
 
             PC-Anywhere script finishes
       PC-Anywhere closes its btrieve files and
   unloads btrieve when it is done
 which kills the btrieve application, because
 the btrieve application files are still open.
 
FYI:  This btrieve application is usually installed on
Novell servers which have a NLM which is loaded into
memory so the application can use brequest which is
not unloaded when PC-Anywhere exits.

However this application is running on an NT server which
to my knowledge can not load the btrieve nlm.  (If there
is an NT application that can be run to simulate btrieve
nlm which will work with brequest the same as on a Netware server the name of this application will work for an answer, I do not want an answer that says "don't load brequest, load btrieve", because  this is not an acceptable solution to the problem defined above.)

P.S. I know this is really a NT question, but I figure at
least here someone may know what btrieve.nlm is...


please notice that I stated that load btrieve instead
of brequest is not an acceptable answer to this problem.
Also, please notice above I mention btrieve is loaded
not brequest.  I am already loading
btrieve /p:3072
...

butil -stop

however, when the application loads another  application (pcanywhere) which uses brequest. The other application (pcanywhere) unloads brequest when it finishes sending the file.  But the first application has btrive files still open so the application that calls pc-anywhere crashes because
pcanywhere has unloaded btrieve.(butil -stop)

Mabey this question is harder than I thought, should I
raise the points?    
tonylammAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

claudelachapelleCommented:
Btrieve probably exist in a NT Server version, but for your task, you don't really need to have a Btrieve server. Just load the Btrieve client version on your PC, and remove it after using the Butil file:

btrieve /m:48 /p:4096 /u:4
...
butil -stop

And voila, your application should work...

Hope this will help!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tonylammAuthor Commented:
Edited text of question
0
tonylammAuthor Commented:
Edited text of question
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

claudelachapelleCommented:
If PC Anywhere automatically unload btrieve and it's that your problem, find where PC Anywhere is doing that and try to configure it for not doing so...  what is your PC Anywhere version? Perhaps you will have to upgrade...
0
tonylammAuthor Commented:
I do not have the source code for PC-Anywhere.  Do you?
I am running the latest version for DOS, I think it is
version 4.5

0
tonylammAuthor Commented:
please tell me if this is too complicated of a question
and I need to increase the points offered....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Novell Netware

From novice to tech pro — start learning today.