Solved

NT service problem

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to center only a line in richedit? 4 69
Printing problem 2 111
Convert MS Word document to a PDF file 9 115
Tvertscrollbox like a whatsapp layout 5 53
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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