You shouldn't have to dynamically allocate your structs, they should work fine allocated the usual way.
The reason you keep getting "enigma::varaccess_amount(int(test))" is because ENIGMA thinks "test" is a normal EDL variable storing the index of an instance, rather than your struct. Robert's trying to get around that by using a pointer, but even then you shouldn't have to dynamically allocate it, just take its address.
It would also be helpful to know which version of GCC you have.
|