How to call a Coffee from C++
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/11/2002 at 23:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; C++ ;---------
Hi all
I had created a simple plugin in v8 ,now what i want to do is i want to create a command button in this plugin which can execute the Hello World Coffee file when user clicks it,Can it be done if so an example would help me a lot.Thanx in advance
vinod -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/11/2002 at 00:16, xxxxxxxx wrote:
Quote: Originally posted by vinod kumar on 12 November 2002
>
> * * *
>
> I had created a simple plugin in v8 ,now what i want to do is i want to create a command button in this plugin which can execute the Hello World Coffee file when user clicks it,Can it be done if so an example would help me a lot.Thanx in advance
There's no way to issue arbitrary commands, like you describe. What you could do would be to use LoadFile() to tell C4D to open the .cof file. It will then execute the main() function in the C.O.F.F.E.E. code.