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

Home » Public Forums » archive » Re: Pointers problem - Unable to dereference NULL pointer
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Pointers problem - Unable to dereference NULL pointer [message #57207 is a reply to message #57206] Thu, 06 December 2007 06:17 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Well, then my next thought would be "That's not the pointer
> your program is complaining about." My main point is that
> when you are building run-time applications, you have to
> have enough error handling built in to locate errors when
> they occur. You seem to be hoping this is an IDL error.
> I'd be willing to bet the balance of the tuition fund
> (admittedly not so much now) that it is a programmer error. :-)

You know, it just occurs to me that this is *exactly*
the kind of error you are likely to get when you call
a routine that is suppose to block at the command line.
For example, a pop-up dialog of some kind. Since there
*is* no command line in a run-time environment, if these
kinds of routines are not written as "modal" widgets (as
opposed to "blocking" widgets), then a null pointer
reference is entirely likely, since they will run through
their block.

Here is a reference to an article you might find illuminating:

http://www.dfanning.com/widget_tips/modal_blocking.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Slow Direct Graphics Drawing? / Mac OS X 10.5 / IDL 6.4.1
Next Topic: Re: large source trees and networked paths in 7.0

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

Current Time: Fri Oct 10 12:40:12 PDT 2025

Total time taken to generate the page: 1.43873 seconds