Hi,

HB_VALTOEXP() works bad if object overloads enum operator. F.e., if I pass HB_OleAuto object, it gives RTE, since the specified class is not a collection and enum is overloaded. Using FOR and array access instead of FOR EACH seams to be bad solution, since array access can also be overloaded. It would be nice if HB_VALTOEXP() can use some internal function to drop class handle and write object as plain array.


Regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to