DragonFly BSD
DragonFly users List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Unix equivalent of a variant??

From: Jonas Trollvik <jontro@xxxxxxxxx>
Date: Thu, 3 Feb 2005 14:16:23 +0100

If you really want to use the VARIANT structures it's just to copy
them from the headers. VARIANT is mainly used in windows automation
com objects, this is probably ported to linux and the main BSDs
already. I dont see any use of VARIANT unless you're using a higher
level language like vb or want to communicate with automation objects.
If you own a license of microsoft visual c++ you can easily port the
COleVariant classes to dragonfly if that's what you're using


On Thu, 03 Feb 2005 03:07:03 -0800 (PST), Andreas Hauser
<andy@xxxxxxxxxxxxxxx> wrote:
> jcm wrote @ Tue, 1 Feb 2005 16:51:02 +0000:
> Hoi,
> > I'm finally doing something very exciting here at work: porting software to
> > Unix!
> >
> > I need the equivalent of a variant, however.  A hold-everything variable
> > that can be any type in C/C++.  Is there something already out there I can
> > use or should I just roll my own?
> There is a big chance the language you used on the other system is already ported.
> Which language had you been using ?
> Interesting in the C context might be to read about union, cast, and pointers.
> Andy

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]