On 02/06/2013 at 03:59, xxxxxxxx wrote:
Cinema 4D Version:
I am trying to understand C++ and where constants are defined, so I have a few questions.
First, the c4d_symbols.h and the c4d_strings.str files must have these names, right? Because Cinema 4D will look for these?
Then, if I do this:
LONG ID_MYCONSTANT_VALUE = 1234567;
I get this when C4D starts: Error reading resource file bla bla line 10
But for some reason, this is allowed, if I put it in another file:
#include "c4d_symbols.h" LONG ID_MYCONSTANT_VALUE = 1234567;
I can get stuff to work, and should not let this occupy me. So I am wasting some time here. But I do want to know why , not only how, when writing my plugins.