A4D v4.5r1

4D 2004.8

Vista

 

In need of a "persistent" array in my A4D application, in the Active4D.4dl
library in the method "On Application Start", I create a new global
collection into which I store 9 arrays. The handle for this collection I
keep in a inter-process variable <>nGCRef.

 

Later in the application I use <>nGCRef to Get Collection Array.

 

The handle is invalid. The array is inaccessible.

 

The documentation reads: Be sure to store the handle in a place where you
can retrieve it later, such

as in the globals collection.

 

I did 1 better by storing the handle in a 4D IP Var. Since I do not
understand how storing a reference to a global collection in the global
collection is accessible without knowing the reference, I did not store the
reference to the global collection in a global collection.

 

What's wrong with this picture?

 

Please advise!

 

Thanks,

David Ringsmuth

952 232-0766

 

 

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to