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 #13765 is a reply to message #13641] Sat, 28 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
> 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.
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: Fri Oct 10 11:40:30 PDT 2025

Total time taken to generate the page: 0.48496 seconds