Solved

Delphi 2/Reportsmith w NT4

Posted on 1997-07-13
5
910 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
[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
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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