Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

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?    
0
tonylamm
Asked:
tonylamm
  • 4
  • 2
1 Solution
 
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
 
tonylammAuthor Commented:
Edited text of question
0
 
tonylammAuthor Commented:
Edited text of question
0
Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

 
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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now