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

Home » Public Forums » archive » Re: callable IDL and structures
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: callable IDL and structures [message #30082 is a reply to message #30076] Tue, 09 April 2002 08:33 Go to previous messageGo to previous message
Stein Vidar Hagfors H[1] is currently offline  Stein Vidar Hagfors H[1]
Messages: 56
Registered: February 2000
Member
Sebastian Moeller <sebastian.moeller@lur.rwth-aachen.de> writes:

> Hi there IDL-experts,
>
> at my place of work we have a C++ project which is to use IDL for user
> definable output. As we are somewhat bound to windows (but do not
> really like activeX) we decided that callable IDL might be the way to
> go. We intended to use structures to pass data to IDL. The strange
> thing is now, the structures we pass show their tags if we invoke
> "help, MyStructure ,/STRUCTURE". We see all tag names and types and
> content as defined in the C++ project. But every command that tries to
> access the data in the structure from IDL (e.g. tmp=
> MyStructure.MyTag1 with MyTag1 is the first element of the structure)
> just tells that MyTag1 is not defined in MyStructure.

Just a hunch, based on your C++ background & writing things like
"MyStructure.MyTag1" etc: Try all upper (or all lower) case for the
structure tag names when *defining* them. My suspicion is that they're
converted to one of those in the "parsing" part of IDL, but since your
C++ code presumably short-circuits that and defines the structures by
calling the appropriate function directly, this might go wrong.

--
------------------------------------------------------------ --------------
Stein Vidar Hagfors Haugan
ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO

NASA Goddard Space Flight Center, Email: shaugan@esa.nascom.nasa.gov
Mail Code 682.3, Bld. 26, Room G-1, Tel.: 1-301-286-9028/240-354-6066
Greenbelt, Maryland 20771, USA. Fax: 1-301-286-0264
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Where is "Pause" function?
Next Topic: Where() with multidimensional array?

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

Current Time: Wed Oct 08 18:44:24 PDT 2025

Total time taken to generate the page: 0.00425 seconds