• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............


  • Subject: Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
  • From: email@hidden (Peter Seebach)
  • Date: Mon, 08 May 2006 03:59:03 -0500

In message <email@hidden>, "Gaurav Kumar"
 writes:
>I want Variant type structure as is in C which can accept any data type.

This can't be done in C.  I'm not even sure what you're talking about, but
there's nothing similar in C.  You could do templates in C++.

>VARIANT V;

>V.vt = VAR_INT;

>It gives error as VAR_INT is not declared and vt is of non type void *.

Okay, you're hosed.  This is not a feature of the language.

-s
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • RE: How to use VARIANT Structure of C on MAC OSX and XCODE2.2...............
      • From: "Kenny Millar" <email@hidden>
    • Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
      • From: Jonas Maebe <email@hidden>
References: 
 >How to use VARIANT Structure of C on MAC OSX and XCODE 2.2............... (From: "Gaurav Kumar" <email@hidden>)

  • Prev by Date: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
  • Next by Date: Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
  • Previous by thread: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
  • Next by thread: Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
  • Index(es):
    • Date
    • Thread