Hi Mathieu,

On Fri, 2004-12-10 at 10:44, Mathieu MARACHE wrote:
> Hi all,
> 
>   I'm trying to use the VoidPAttachment functionality but cannot get 
> back the stored attachement. I finally went back to the tutorial 
> 15attachments which outputs :
> 
> $ ./15attachments
> WARNING: No file given!
> LOG: Node name: Scene
> LOG: Node is named: Scene
> LOG: Found object NodePtr 0x0xbfffefc0:NodePtr(0x0x81ec378) named Scene.
> LOG: Found no object named TF_DETAIL (did you load the tie?).
> LOG: Node my value: 42
> LOG: Node voidp value: 3221221212
> 
> The stored value displayed in the last line should be 1234 !
> 
> Am I missing something, or is this a bug ?

It's a bug. Not in the VoidP Attachment, but in the tutorial example. If
you remove the & in the printout you'll get the 1234 you expect. Thanks
for spotting that.

What exactly is your problem when using it yourself? Do you have a
simple example that demonstrates the problem?

Yours

        Dirk




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to