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

Home » Public Forums » archive » Re: IDL_MakeStruct floating exception
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: IDL_MakeStruct floating exception [message #39414] Thu, 20 May 2004 09:45 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Are you trying to use callable IDL or you writing a DLM? I am confused
because you mentioned "main".

Haje


"Sveta Shasharina" <sveta@txcorp.com> wrote in message
news:2911fc52.0405200717.3689d5f@posting.google.com...
> Hi Haje,
> The problem is that this is all the code :-)
> I have these two statements in my main.
> I assume that they mean that I allocate memory of a particular size
> but do not assign any values.
>
> Sveta
>
>
> "Haje Korth" <haje.korth@jhuapl.edu> wrote in message
news:<c8gg7d$5js$1@aplcore.jhuapl.edu>...
>> Sveta,
>> are you ensuring the variables you are assigning to foo.p and foo.q have
the
>> correct type (e.g., IDL_CvtFix)? Are the variables you are assiging
really
>> "shorts"? Remember "int" in C corresponds to "long" in IDL. I do not
think
>> we can solve this without seeing more of your code.
>>
>> Cheers,
>> Haje
>>
>> "Sveta Shasharina" <sveta@txcorp.com> wrote in message
>> news:2911fc52.0405191033.50c004db@posting.google.com...
>>> I am trying to run this simple code:
>>>
>>> static IDL_STRUCT_TAG_DEF f_tags[] = {
>>> {"P", 0, (void*) IDL_TYP_INT},
>>> {"Q", 0,(void*) IDL_TYP_INT},
>>> {0}
>>> };
>>>
>>> void* s;
>>> s = IDL_MakeStruct("FOO", f_tags);
>>>
>>> And get "Floating point exception...
>>>
>>> What is wrong?
>>>
>>> Thanks,
>>> Sveta Shasharina
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fast Fourier Transformtation to Automatic Image-Image Registration
Next Topic: MPEG problem

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

Current Time: Fri Oct 10 22:01:57 PDT 2025

Total time taken to generate the page: 1.35875 seconds