• 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
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]

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


  • Subject: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
  • From: "Gaurav Kumar" <email@hidden>
  • Date: Mon, 8 May 2006 10:54:30 +0530

Hi all,

 

I want Variant type structure as is in C which can accept any data type.

Variant is used in MFC Class. I want to use Variant on MAC OSX with gcc 4.0 and xcode 2.2.

Is there any replacement for Variant is on Mac or we can use them same as in MFC Classes.

 

I have implemented Variant structure on MAC but it gives error

 

VARIANT V;

V.vt = VAR_INT;

 

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

The above code on Windows 32 environment works properly without any error.

 

If I can use Variant on MAC, please provide one or two examples or some other thing that I can use to accept any primitive data type in a single data type.

 

Do mail me if you require any more information for above mail.

 

With regards,

Gaurav

      

 

 _______________________________________________
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 XCODE 2.2...............
      • From: Graham J Lee <email@hidden>
    • Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
      • From: email@hidden (Peter Seebach)
  • Prev by Date: Re: question for CFRunLoopStop()
  • Next by Date: Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
  • Previous by thread: Re: compile for i86 on my PPC?
  • Next by thread: Re: How to use VARIANT Structure of C on MAC OSX and XCODE 2.2...............
  • Index(es):
    • Date
    • Thread