On 06/03/2013 at 10:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13
Platform: Mac ;
Language(s) : C++ ;
---------
Hello again all,
This post is directed towards Yannick, as he seems to be the one who has the most experience with the HtmlViewer, but if anyone has any insight on this, please, chime in!
As part of an experimental plugin, I've been trying to implement the HtmlViewerCustomGui class and playing with its functions.
One of the things we thought would be interesting was to pass a download link to the SetURLCallback function and try to download a file to the C4D_PATH_LIBRARY.
- Is there a way we can utilize any of Cinema's functions in Basefile or Filename to retrieve and write this file?
- What does c4d_file's RequestFileFromServer() do? What about the SetIpConnection() located in the Filename class?
- If this is not possible with the SDK, is there anything preventing us from including an external library (like libcurl) to perform the retrieval of the file?
- On a related note, can you also provide an example of how the HtmlViewerCustomGui GetTextArea() works? Scott mentioned it a while back and I never had any luck getting it to work.
Thanks for your time!
Dan