Solved

NT service problem

Posted on 1998-07-02
4
124 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
URL for downloading Google Chrome for Win XP 2 182
LAN or WAN ? 11 95
Not able to call Delphi XE10 dll function from Delphi 6.0 4 37
RESTRequest Parameter 4 42
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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