Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    How are the Shared Libraries implemented ?

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 333 Views
    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 Offline
      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 Offline
        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 Offline
          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