Solved

NT service problem

Posted on 1998-07-02
4
119 Views
Last Modified: 2010-04-04
Hi All,

We wrote a service wich receives characters from the
serial port and stores the data in a Paradox table, using
a DLL. This DLL is a normal DLL, creates a table and stores
the data. The problem is, when the service is running and
writing to the table, some of 16 bits applications couldn't
run. When service stops, the 16 bits applications could run.
There were another issue of the service which wrote the
data directly into a text file, not a table, and it worked
properly, didn't stop. The new revision of the service(which writes the data into the table directly) stops in undeterminated way? (Edited by Computer101)! We couldn't find reason of that.

Can anybody help us?

cheers
Andras
0
Comment
Question by:bandi081497
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 200 total points
ID: 1356943
I think it is because BDE (or whatever DB component you use to write Paradox), is running some 16-bit code (a DLL file). NT doesn't multitask 16-bit code, so when your 16-bit DB code is running, all other 16-bit programs will hang.
0
 

Author Comment

by:bandi081497
ID: 1356944
Any suggestion how to write the data from the service directly
to a e.g. Paradox table?

Thanks in advance
0
 
LVL 7

Expert Comment

by:BlackMan
ID: 1356945
If it doesn't have to be Paradox, I'll suggest that you look at some of the databasecomponents that comes with Delphi source. In that way, you are 100% sure that it is 32-bit code.
0
 
LVL 7

Expert Comment

by:BlackMan
ID: 1356946
Try
www.realsoftdev.com
www.turbopower.com
home.sprynet.com/sprynet/rrm/
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now