Compile error....

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

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.

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)" ([email protected]@[email protected])
What exactly causes that....

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.

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