Description resource not found? [SOLVED]
-
On 27/06/2014 at 15:43, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 14
Platform: Windows ;
Language(s) : C++ ;---------
Hi all,
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
[PATH_TO_C4D_ON_MY_SYSTEM]\resource\res\description[NAME_OF_MY_DESCRIPTION_RESOURCE_FILE].res"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?
Thanks
/Filip -
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.