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 #39422 is a reply to message #39416] Wed, 19 May 2004 13:31 Go to previous messageGo to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
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: Sat Oct 11 02:58:11 PDT 2025

Total time taken to generate the page: 0.80036 seconds