Solved

Delphi 2/Reportsmith w NT4

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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