Hi
I have been trying to get the JQWeather component to work in my Intraweb project in C++
I found an old post that describes how it is done in pascal but it does not seems to work in c++
I can get it working with the Woeid parameter like this:
dynamic_cast<TIWCGJQSimpleWeatherOptions*>(IWCGJQWeather1->JQWeatherOptions)->Woeid = 29306354;
or more direct:
IWCGJQWeather1->JQSimpleWeatherOptions()->Woeid = 29306354;
But when I try to use the Location or LocationFn option does it fail:
IWCGJQWeather1->JQSimpleWeatherOptions()->LocationFn->Script = "function () { return \"46.9062324, -102.78000830000002\"; }";
Can you tell me what I do wrong?
I am using RAD studio 10 Seattle and Intraweb 14.0.52
Regards
Peter Søndergaard