Hi,
for an application I need to change on runtime the background image of CWGraph with C++ Builder 6.0. How can I do this?
I tried the following code, but doesn't works:
String str_URL="C:\\figure.bmp";
wchar_t *URL_1 = new wchar_t[str_URL.WideCharBufSize()];
str_URL.WideChar(URL_1, str_URL.WideCharBufSize());
CWGraph1->PlotAreaImage->CWImage->set_URL(URL_1);
Thanks,
Marco