THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/04/2008 at 07:59, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.111
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
A simplified example: I want to output the current date in the C4D console. How do I do that?
I tried with the following code:
> LONG Year; \> LONG Month; \> LONG Day; \> GeGetSysTime(&Year;, &Month;, &Day;, NULL, NULL, NULL); \> GePrint("Date: " + LongToString(Day) + "." + LongToString(Month) + "." + LongToString(Year)); \>
But it makes Cinema crash immediately.
Thanks in advance :)
Greetings,
Jack