>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: ActiveX Not Accepting Pointer
Tom.Mullin
ActiveX Not Accepting Pointer
Posted: Wednesday, November 22, 2006 12:54 AM (EST)

If an interface pointer is assigned to a variable it cannot then be used.

 

Example:

 

This works fine

         'itgm2' Œwi 'New' ('itg' Œwi 'interface')

 

This doesn't

 

          ttt„('itg' Œwi 'interface')
    'itgm2' Œwi 'New' (Œfirst ttt)

 

and gives a ŒWI CREATION ERROR: Invalid object pointer

 

Same thing happens with EnumNext.

 


Comments:

Author Thread:
davin.church
ActiveX Not Accepting Pointer
Posted: Wednesday, November 22, 2006 10:49 PM (EST)

Watch out for how you're using it.  If that code is in a function and runs straight through, then it'll probably work.  But if you're doing it in the session, or if you put a stop on your function, then the pointer will get invalidated when execution stops between the lines and you won't be able to continue.

 

([]first shouldn't be needed either.)

     



APL2000 Official Web Site

When we try to pick out anything else in the Universe, we find it hitched to everything else in the Universe.
-- John Muir

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |