Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    How are the Shared Libraries implemented ?

    SDK Help
    0
    3
    93
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      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 ?
      Thanks

      DLLEXPORT*: #define DLLEXPORT extern "C" __declspec(dllexport)

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

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

        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. 😉

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

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

          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 😉

          1 Reply Last reply Reply Quote 0
          • First post
            Last post