>ProcNew
> ...
> VisM.Code := 'SET ^' +fCacheObjRefName +'=' +'##CLASS('
>+fCacheObjectClassName +').%New("")';
> ...
>
>ProcClose
> ...
> VisM.Code := 'Do ^' +fCacheObjRefName +'.%Close()' +' ' +'Kill ^'
>+fCacheObjRefName
> ...
>
>where fCacheObjRefName contains the string 'TestObj'.
>
>The first procedure works fine. In the explorer I can see that the routine
>has created the global. But the next time I want to use it (like in
>ProcClose) VisM raises a syntax error. Why?
It seems to work for me from the command line - what is the syntax
error that you get?
>(3) As I wrote above, I want to use Cach� objects in a dynamical way. So if
>I use the factory ActiveX control to gve me an ActiveX ORef: is there any
>way to set the value of a property the name of which is only known at
>runtime?
Difficult one this - one way is from a Delphi string ( the name of the
property ) is to interrogate the Factory ActiveX which then returns
the address and then you can call it
I believe this is possible but haven't worked out the details yet
Peter F Cooper
xebec information systems
the creators of xebRAD