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 #57208 is a reply to message #57207] Thu, 06 December 2007 06:10 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Romolo Politi writes:

> In may case the main program create the pointer, fill it, and then
> call the procedure for the widget creation.
> the data are writen in the source.
>
> wdg=ptr_new({id:0,set:0,cube:bytarr(5,5),band:0,res:0,flname : "",pre:
> 0,iddata:0,cmx:0,cmy:0,foc:0,circ:0})

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. :-)

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: Thu Oct 09 22:55:25 PDT 2025

Total time taken to generate the page: 6.96112 seconds