THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/11/2011 at 05:57, xxxxxxxx wrote:
Cinema 4D Version:
Maybe some kind of weird Title..
I wonder how the Shared Libraries work with C4D.
I think, when c4d detects the .cdl / .cdl64 / .dylib, it calls the PluginStart function as Entrypoint, right ?
But, when I want to write a DLL, the functions I want to use need to be define with the DLLEXPORT* macro, why not in the C4D Entrypoint ?
DLLEXPORT*: #define DLLEXPORT extern "C" __declspec(dllexport)
On 07/11/2011 at 07:28, xxxxxxxx wrote:
Ah, I seee. One can see the C4D_MAIN function that is marked as exported in \_api/c4d_pmain.h.
That makes things clear to me.
On 20/11/2011 at 04:10, xxxxxxxx wrote:
Why would you want to write a DLL? Just develop your plugin like all other developers do and you'll be fine