On 27/06/2014 at 15:43, xxxxxxxx wrote:
Cinema 4D Version: 14
Platform: Windows ;
Language(s) : C++ ;
I'm porting one of my older plugins to R14 and up. It compiles fine, but when I start c4d and create an instance of my object plugin, I get this message:
"Unable to open file
What's weird to me here is the path where 4d appears to look for the file. In the the RegisterObjectPlugin function, I give only the name of the decscription resource file, but no path. Why does c4d look for the file in this folder, instead of the res file of my plugin that i would expect? Any ideas?
On 18/11/2014 at 12:14, xxxxxxxx wrote:
BTW, I found the solution to this: for some reason I had the deleted the call to "resource.Init()" in the PluginMessage in the main file. Doh.