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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Compile error....

    SDK Help
    0
    5
    614
    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 06/03/2003 at 07:53, xxxxxxxx wrote:

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

      ---------
      I am getting an error, and I need help...
      error C2248: 'Open' : cannot access public member declared in class 'GeDialog'
      I am trying to use my main plugin class to open a dialog through the dialog class when the Plugin::Execute()  function goes....
      Thanks,
      pixo_linx

      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 06/03/2003 at 08:22, xxxxxxxx wrote:

        Check your class definition, it should look like:

            
            
              
            class MyDialog : public GeDialog  
            {  
            public:  
            
        

        did you do...

            
            
              
            class MyDialog : GeDialog  
            {  
            public:  
            
        

        The second would give you that error since the Open() function will be inherited as private.

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

          Thanks... one of those overlooked things..
          It took care of that but now I am getting an unresolved symbol error...?
          error LNK2001: unresolved external symbol "public: __thiscall MyDialog::MyDialog(void)" (??0MyDialog@@QAE@XZ)
          What exactly causes that....

          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 06/03/2003 at 08:51, xxxxxxxx wrote:

                
                
                class Mydialog : public GeDialog  
                {  
                  MyDialog();  
                }
            

            without

                
                
                MyDialog::MyDialog() {}
            

            will cause that, i.e. you haven't defined the constructor.

            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 06/03/2003 at 09:02, xxxxxxxx wrote:

              Thanks Mr. Sterner ...
              completely missed that...
              us newbies and our questions...;)
              Thanks,
              pixo_linx

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