Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 1st, 2003, 05:55 AM
Registered User
Join Date: Jul 2003
Location: Manchester, , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error capture from DLL

I've got an activex component that I want to trap any errors from without having to rewrite the code in the dll(it's 8000 lines-worth). Before the instantiation and call to the function I have "On Error Resume Next". After it I have "If err <> 0 Then". I've forced an error in the dll to test this, but Err always returns a 0. I'm assuming that Err only relates to errors returned from the ASP scripting engine. So when the dll returns an error without error trapping, where does the information for this error come from? Is the only way around this to trap inside the dll? I'm thinking that as the error is being returned back to the executing page and being displayed by IIS there must be some way of trapping this?

All help greatly appreciated

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to capture java syntax error messages? help.. viber101 Java Databases 2 April 1st, 2009 12:53 AM
Capture Sql server Error happygv SQL Server 2000 19 May 10th, 2007 12:55 AM
capture error logs jemacc SQL Server 2000 1 January 10th, 2007 08:17 PM
dll Error Norberto_Caraballo VB Components 4 August 9th, 2006 12:38 PM
CLSID error in DLL Mcanic2k Beginning VB 6 2 March 11th, 2004 05:43 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.