[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

NT service problem

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
bandi081497
Asked:
bandi081497
  • 3
1 Solution
 
BlackManCommented:
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
 
bandi081497Author Commented:
Any suggestion how to write the data from the service directly
to a e.g. Paradox table?

Thanks in advance
0
 
BlackManCommented:
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
 
BlackManCommented:
Try
www.realsoftdev.com 
www.turbopower.com
home.sprynet.com/sprynet/rrm/
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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