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

Home » Public Forums » archive » Re: Structure in argument #2 -> With IDL ActiveX control
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: Structure in argument #2 -> With IDL ActiveX control [message #13620 is a reply to message #13587] Mon, 23 November 1998 00:00 Go to previous messageGo to previous message
Matthew J. Sheats is currently offline  Matthew J. Sheats
Messages: 19
Registered: September 1997
Junior Member
> Does the GetNamedData() function of the IDL ActiveX control support the
> structure definition?

Well, the GetNamedData() function returns data as a variant which needs
casting. If you have a user defined structure, then there isn't a
default cast for it, but what you might be able to do, is write a VB
function that could rip the Variant apart into the structure you need.

The only issue is, I don't know how IDL would handle a request to
return a structure in this way. If it returns bits, then you're ok, but
if it doesn't know what to do.. you probably will just get an error.

Let me know if you figure it out, I've never tried that before.

Matt Sheats
Los Alamos National Laboratory
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Curious FindFile behavior
Next Topic: Re: vectors on maps

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

Current Time: Sat Oct 11 13:43:23 PDT 2025

Total time taken to generate the page: 0.88135 seconds