Object plugin and res file(s)

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/06/2010 at 14:59, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11.027 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi,

I am trying to create an object node plugin that is supposed
to start an external process to create some geometry. The
plugin will then watch for an output file and read the file
when it finds it. I am starting from a skeleton implementation
similar to

https://plugincafe.maxon.net/topic/4809/4699_object-doesnt-show-up-in-plugin-menu

I can get the plugin to load, but I immediately get an error
message saying that

<C4D folder>\resource\res\description<plugin name>.res

cannot be found. I have created a dialog to show when the node is
displayed, and I would assume this file would have to reside in

<C4D folder>\plugins<plugin name>\res\description<plugin name>.res,

but Cinema 4D apparently does not find it there. When I put it in both
paths, I get another message indicating a parse error in line 2, which
reads

DIALOG <plugin name>

where <plugin name> is the name of my plugin. This leaves me with
a number of questions:

- Why do I need a .res file for an object node plugin?
- What contents must be put into that file - a dialog?
- What defines the connection between the .res file and the cdl file?

I am using ResEdit 3.10 deluxe together with Cinema 4D and MSVC 2008.

Thanks in advance.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/06/2010 at 16:47, xxxxxxxx wrote:

resedit will not generate valid resource files for an object plugin. Please search the forum for more information, check out the docs (there is tons of info on "Descriptions" in there) and also the example projects in the SDK.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 17/06/2010 at 05:23, xxxxxxxx wrote:

Thanks, looks like C4DR115SDKHTML/pages/description_resource/doc_DescriptionResou376.html
("Description resource") contains the relevant information. I simply didn't see the connection.