Solved

Delphi 2/Reportsmith w NT4

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
problem when i try to pack my dll file with upx 9 71
QRReport  TQrmemo vertical stretching 1 41
delphi parse string to params 3 97
Base1 Encode/Decode 3 67
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
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…

932 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

11 Experts available now in Live!

Get 1:1 Help Now