comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » DLM's and C code
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
DLM's and C code [message #28749] Tue, 08 January 2002 14:48 Go to previous message
Richard Tyc is currently offline  Richard Tyc
Messages: 69
Registered: June 1999
Member
A somewhat IDL related question.
I am trying to link in some C code via a DLM. I use a wrapper routine to
handle the call from IDL and manipulate the args and return data. Within the
wrapper, I call C functions linked in through another DLL.

What is the best way to handle errors while deeply nested within layers of C
functions.? The ANSI C code I am using essentially had exit(1) calls for
major errors. Is there an IDL_ function (like say an exit handler) I can
call to cleanly return to IDL rather than a trying to modify the call stack
and get back to the IDL wrapper function to perform something like a return
IDL_StrToSTRING("ERROR") ;

Thanks

--
Richard Tyc
Project Engineer
St. Boniface Hospital Research Center
351 Tache Ave
Winnipeg, MB
Canada
Tel: 204-237-2557
Fax: 204-231-0485
Email: richt@sbrc.umanitoba.ca
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: comp.lang.idl-pvwave, FINAL NOTICE of Newsgroup Removal
Next Topic: Changing the order of true color images

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:53:09 PDT 2025

Total time taken to generate the page: 0.00403 seconds