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

Home » Public Forums » archive » Expert information needed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Expert information needed [message #33895] Tue, 04 February 2003 09:23
Ed Wright is currently offline  Ed Wright
Messages: 39
Registered: February 1999
Member
Can someone explain the operation differences between:


IDL_VarCopy(IDL_StrToSTRING(shape_buf), Argv[2]);

and

IDL_StrStore( &Argv[2]->value.str, shape_buf );

I discovered use of the second causes a malloc error under certain
circumstances, while the first does not.

As always,
ED Wright
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: endless loops suck
Next Topic: Re: IDL, arrays, and memory

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

Current Time: Wed Oct 08 19:28:37 PDT 2025

Total time taken to generate the page: 0.00523 seconds