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

    CoreMessage

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 266 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 13/06/2008 at 04:41, xxxxxxxx wrote:

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

      ---------
      Hi,

      In the "myplug" I do:

      SpecialEventAdd(MY_ID, 666, 888);

      In the MyPlug::CoreMessage I do

      switch (id)
      case MY_ID:{GePrint(LongToString((LONG)msg.GetLong(BFM_CORE_PAR1)));}

      I always get 0 (zero), I think it should be 666, or 888 if BFM_CORE_PAR2

      Jan

      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 13/06/2008 at 08:39, xxxxxxxx wrote:

        Never mind, found it, the API has changed.
        Jan

        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/09/2009 at 10:35, xxxxxxxx wrote:

          To prevent anyone else wasting _hours_ over this, as I have just done, the magic change is simply the replacement of 'GetLong' with 'GetVoid'.

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