This is a migrated thread and some comments may be shown as answers.

Lack of internet connection kills application

1 Answer 46 Views
Monitor integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andrew
Top achievements
Rank 1
Andrew asked on 25 Nov 2013, 12:32 PM
Greetings,

We are attempting to integrate the Eqatec Analytics monitor into our Delphi 5 application and have encountered a curious problem:
When trying to run the application in an environment without an internet connection, an InvalidCastException is thrown by the COM Facade and causes the application to shut down.
The exception occurs shortly after calling Monitor.Start()

The only relevant information contained in the windows error message is as follows:
  Problem Event Name:    CLR20r3
  Problem Signature 01:    sproster40.exe (our app)
  Problem Signature 02:    3.0.0.3043
  Problem Signature 03:    2a425e19
  Problem Signature 04:    EQATEC.Analytics.MonitorCOMFacade
  Problem Signature 05:    3.1.69.0
  Problem Signature 06:    517518c4
  Problem Signature 07:    2a
  Problem Signature 08:    23
  Problem Signature 09:    System.InvalidCastException
  OS Version:    6.2.9200.2.0.0.256.4
  Locale ID:    2057

We have reproduced the issue in Windows 7 & 8 environments, however the issue does not appear to occur when using Windows XP.

I appreciate that this is not much information to go on, but I'm hoping maybe you've seen something like this before.

We'd greatly appreciate any advice you can offer.

1 Answer, 1 is accepted

Sort by
0
Richard Flamsholt
Telerik team
answered on 28 Nov 2013, 04:40 PM
Hi Andrew,

First of all, sorry for responding so late to your support question.

I have not heard of this problem before, unfortunately. And frankly we don't have very many users using the COM-based monitor.

Most use the Win32 C++ version, which also expose a plain flat, undecorated C API which makes it ideal to call from within Delphi. It even has both 16-bit wchar_t and 8-bit char versions of the entire API. My by far best suggestion in your case would be to check out the Win32/C++ monitor which works just great on the various Windows flavors. You can get it here: http://www.telerik.com/analytics/download

Regards,
Richard Flamsholt
Telerik
ICENIUM MONITOR AVAILABLE FOR DOWNLOAD.
Monitor and track applications built with Icenium at run-time. Reduce support by fixing run-time crashes as they occur, obtain user insights such as location and system configuration, find and remove application bottlenecks, and track which features are used most to help prioritize development.
Try Icenium with EQATEC Analytics today >>
Tags
Monitor integration
Asked by
Andrew
Top achievements
Rank 1
Answers by
Richard Flamsholt
Telerik team
Share this question
or