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

Home » Public Forums » archive » 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 #13762 is a reply to message #13641] Sun, 29 November 1998 00:00 Go to previous messageGo to previous message
Skiso is currently offline  Skiso
Messages: 5
Registered: August 1998
Junior Member
"Matthew J. Sheats" wrote:

>> I understand that it is impossible to pass a entire structure from IDL to VB. But,
>> why can't I just pass the value of one field of a structure like this:
>>
>> Example: MyVB_variable = IDLDrawWidget.GetNamedData("MyIDL_structure.my_variable")
>>
>> It would be _very_ useful!
>
>> Skiso
>
> Oh agreed. That is annoying. I've always had to assign to some
> variable and then retrieve the data like:
>
> IDLDrawWidget.ExecuteStr( "x = MyIDL_structure.my_variable" )
> MyVB_Variable = IDLDrawWidget.GetNamedData( "x" )
>
> Definately seems to be a round about way of doing things. Funny thing
> is, I've seen similar behavior in places in IDL (not involving
> ActiveX). Like.. (and maybe this is just me being a moron), I can't do
> this:
>
> READU, Lun, Struct.X
>
> It doesn't seem to assign anything to Struct.X. What I always end up
> doing is something like this:
>
> READU, Lun, X
> Struct.X = X
>
> Pretty annoying. It's one of those things I never thought about
> reporting because I assumed it was a "feature" of some sort. One I
> could do without. Oh and ya, the structure and X and everything is
> defined prior to the READU.
>
> I have 3 activex related bugs still awaiting resolution right now.
>

I'm working with IDL 5.1 and the most annoying bug is that my program that use IDL
activeX run just one in Visual Basic. If I need to run again the program I need to close
Visual Basic end re-open it. I hope this is fixed in 5.2!

Skiso

> They didn't make it into 5.2, so now I have to wait at least until...
> what? 5.2.1? OH well.
>
> Welp, I've babbled long enough, ttyl8r.
>
> Matthew Sheats
> Los Alamos National Laboratory
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Finding PSD Mean Frequency
Next Topic: Varaibles higher on the stack

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

Current Time: Sun Oct 12 04:37:29 PDT 2025

Total time taken to generate the page: 0.55968 seconds