GetStringListProc Help


I am using C++.

I need help understanding how to get a list of strings passed to the scripter. I have been able to return Int, String, etc, but I am having trouble with a list.


When I compile I receive the error:

Type mismatch in parameter 'AValue' (wanted 'const Variant &', got TStringList)

Any help would be appreciated. Thanks!

Hello, use ObjectToVar function to convert from a TObject to the Variant value:


This was great. Exactly what I needed.

Thank you. Take care!