Solved

Delphi 2/Reportsmith w NT4

Posted on 1997-07-13
5
901 Views
Last Modified: 2010-08-05
Can anybody tell me, please, whether Reportsmith
(in Delphi 2.01) is supposed to work with Windows NT 4.0 Workstation?

I am trying to use the Delphi connection type, with a simple report, a datasource, and a single table all contained in a data module.

The report runs OK, but when exiting from the program, after running the report, I always get
"Exception EExternalException in module xxx at 77B4xxxx.  External exception C0000008."

Is there a way around this?  Is there a patch for Delphi?  Are there 4?

Are there any other known problems or limitations with Delphi 2 under NT 4?  (I am using Delphi 2.01 Developer).

Many thanks for your tips ...

Ken Travers.
0
Comment
Question by:ktravers
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:millerw
ID: 1338781
I get that message too, but only when I'm in Delphi running my app.  I have narrowed down the problem to be that if you shut down reportsmith before the app, the app tries to close down the DDE connection that now doesn't exist because Rs-Run is no longer active.  When i run my app outside of Delphi, it works just fine and there is no exception message.  Remember that Delphi catches all exceptions (even the silent ones--try aborting a database from inside Delphi---shows the exception even though it is a silent one that the user will never see).  So I think it is just delphi doing its job.  Try running the app outside of the IDE and see if you get the same problem.  Also, try once when you close the report program before closing the app and once where you leave it running till after closing your app.  You will probably see the error message for one and not the other.  I have been ignoring the error because my users will never see it.

Hope that explains it (if you like my comment, ask me to post as an answer and I will),
Scott
0
 

Author Comment

by:ktravers
ID: 1338782
Thank you, Scott (millerw)  --  your answer looks good.  Will try.
0
 
LVL 1

Expert Comment

by:millerw
ID: 1338783
So do you want me to post it as the answer to your question or what?

Scott
0
 

Author Comment

by:ktravers
ID: 1338784
Yes please.
0
 
LVL 1

Accepted Solution

by:
millerw earned 50 total points
ID: 1338785
I get that message too, but only when I'm in Delphi running my app. I have narrowed down the problem to be that if you shut down reportsmith before the app, the app tries to close down the DDE connection that now doesn't exist because Rs-Run is no longer active. When i run my app outside of Delphi, it works just fine and there is no exception message. Remember that Delphi catches all exceptions (even the silent ones--try aborting a database from inside Delphi---shows the exception even though it is a silent one that the user will never see). So I think it is just Delphi doing its job. Try running the app outside of the IDE and see if you get the same problem.  Also, try once when you close the report program before closing the app and once where you leave it running till after closing your app. You will probably see the error message for one and not the other. I have been ignoring the error because my users will never see it.

Hope that explains it,
Scott
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add combobox item based on numbers 9 144
How to debug For loops? 3 51
Controlled Assessment GCSE - desperate help needed 4 90
creating threads in delphi 1 109
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

832 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