>You are aware the VB .DLLs are COM objects, and that you need to capture errors using the COM error handling mechanisms?
Ed,
I don't know VB well enough to say, but isn't it VB's responsibility to populate the COM exception structure? We've got to use COMRETURNERROR() with non-VFP clients (of course, a VFP client can use AERROR() to view the structure).
George
Ubi caritas et amor, deus ibi est