Solved

NT service problem

Posted on 1998-07-02
4
126 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 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