Solved

Delphi 2/Reportsmith w NT4

Posted on 1997-07-13
5
888 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now