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
    • Register
    • Login

    First TagPlugin for Tutorial

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 315 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 21/02/2006 at 14:15, xxxxxxxx wrote:

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

      ---------
      Hello all together,
      i try to learn c++ for C4D-Plugin programming.
      I had started a workshop: http://www.c4dboard.com/index.php?showforum=72
      And a VeryFirstSteps Tutorial (german), for free VisualC++ from MS (not publish up to now) : http://www.total3d.de/vcppp.pdf
      I learning by writing 🙂
       
      I thing the best way to learning and describe, ist to get a Plugin without a function, or with very very small-code for function.[b]I need a code for a very minimal Tag-Plugin.[/b]
      The Tag-Plugin in SDK look like to much.
      I don't understand, what is für TAG self, and what for doing what the Tag do.
      Here my my try to make a TAG without do something, but crashing:
      [b]why don't work the code ?[/b]
      http://www.total3d.de/mainTAG.zip

      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 22/02/2006 at 02:21, xxxxxxxx wrote:

        Your code seems fine. But your project lacks a description file. info is the name of the description file, so don't localize it.

        if (!name.Content()) return TRUE; // FALSE is better as something went wrong

        return RegisterTagPlugin(PLUGIN_ID,name,TAG_EXPRESSION|TAG_VISIBLE,DEINTAGPLUGIN::Alloc,"Deintag","DEINTAG_icon.tif",0);

        Now you only need a "res/description/Deintag.res", according .h and .str files. Look in the sdk for
        tlookatcameraexp.res/-.h/-.str and do it likewise.

        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 23/02/2006 at 08:07, xxxxxxxx wrote:

          Thanks for the answer!
          But i cant get it 😞
          I try to copy the res and .h from the SDK-File "tlookatcameraexp"
          It don't work.
           
          I use VisualC++ 2005 Express...

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