Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/06/2009 at 11:10, xxxxxxxx wrote:
User Information: Cinema 4D Version: r11 Platform: Windows ; Language(s) : C++ ;
--------- Hi there, i am having a problem with LocalFileTime.. i get an error that ft is not initialized.
> `
\> \> LocalFileTime *ft; \> ft->Init(); \> GeGetFileTime(GeGetPluginPath() + Filename(fn),GE_FILETIME_CREATED,ft); \>
`
would be cool if someone can push me into the right direction..
thanks and cheers, ello
On 17/06/2009 at 12:05, xxxxxxxx wrote:
You can't call a method from the pointer without allocating an instance of the class. I'd simply use a heap instance:
LocalFileTime ft; ft.Init(); GeGetFileTime(....,&ft;);
If that doesn't work for some reason, then allocate an instance:
LocalFileTime* ft = gNew LocalFileTime; ... // And then free it when done! gDelete(ft);
On 17/06/2009 at 13:35, xxxxxxxx wrote:
thank you! allocating works...