Hallo!

(1) I still try to use Cach� from Delphi dynamically via VisM. My current
problem is this:

There are two procedure, let's call them ProcNew and ProcClose. They execute
the following code:

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?

(2) Is there any mor detailed information on what is possible to do with
VisM and what isn't?

(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?

Thanks in advance
Matthias

--




Reply via email to