On Sat, Nov 17, 2001 at 05:27:15PM -0200, Miguel Freitas wrote:
> Hi Arpi,
>
> >> I just want to give a "hello" since i ported your DirectShow support
> >> routines into xine player. The code is at the cvs for the next 0.9.5
> >> release. Note that i have also converted all c++ code to c.
> >Hmm. How did you do that? (C++->C)
> >I tried it some time ago but finally found it very impossible.
> >(because of directshow api itself is c++)
>
>
> Yes, it is. Eugene's comments says "Sh*t. MSVC++ and g++ use different
> methods of storing vtables." and manually implements the directshow api
> in plain C using pointers to functions. Nice work indeed. ;)
Ok I've started to convert C++ -> C in a true way
which means the library will propler export only two symbols per
object Create & Destroy - the rest will be hidden and defined as
static and accessible in exactly the same was as is now via pointer
dereference...
> I manually converted a lot of code, resolving inheritance, vector
Basicaly it will look very similar but I'll like the code more :)
--
.''`. Which fundamental human right do you want to give up today?
: :' : Debian GNU/Linux maintainer - www.debian.{org,cz}
`. `' Zdenek Kabelac kabi@{debian.org, users.sf.net, fi.muni.cz}
`- Resistance is futile. You all will be packaged
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile