[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vbox-dev
Subject:    Re: [vbox-dev] Linker error trying to create a new COM interface
From:       Christian_Pötzsch <Christian.Poetzsch () Sun ! COM>
Date:       2009-04-20 7:46:00
Message-ID: 49EC2838.2020003 () sun ! com
[Download RAW message or body]

Hi Eduardo,

there are some bits missing. You have to implement some support methods
& also some class info have to be declared. See
src/VBox/Main/xpcom/server.cpp & the other declarations therein. Its
simple like adding two macros.

Christian

Eduardo Robles Elvira wrote:
> Hi!
> 
> I'm preparing a patch (some of you are already aware of it) and in
> order to do it I need to create a new COM interface and its
> implementation. I've created it, but when compiling, it fails at
> linking time saying a lot of  "undefined reference to vtable/VTT"
> errors. I thought I was doing something wrong in my C++ code, so I
> replicated INetworkAdapter  and NetworkAdapter in a new class and it
> still gives me the same linker error. I'm clueless about what is the
> problem.. there must be something else that I have to do beside
> writing the code and adding the interface to the xidl file but I don't
> know what it is so please help me! Attached to this email you can find
> the patch and the errors.
> 
> Thanks in advance,
>     Eduardo Robles Elvira.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> vbox-dev mailing list
> vbox-dev@virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev


-- 
Dr. Christian Pötzsch    Sun Microsystems    http://www.sun.com/

_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic