Conditional include

Discussion in 'C++' started by Avi, Sep 24, 2007.

  1. Avi

    Avi Guest

    Hello,

    One of my stdafx.h includes/imports a xyz.tlb file. Path for this TLB
    will be different on XP and Windows 2000. Is there any environment
    variable which I could use to determine whether I am on XP or not.
    This will give me a way to include correct file.

    Thanks and regards
     
    Avi, Sep 24, 2007
    #1
    1. Advertising

  2. On 2007-09-24 08:59, Avi wrote:
    > Hello,
    >
    > One of my stdafx.h includes/imports a xyz.tlb file. Path for this TLB
    > will be different on XP and Windows 2000. Is there any environment
    > variable which I could use to determine whether I am on XP or not.
    > This will give me a way to include correct file.


    Maybe, platform specific questions are off topic, try one of the
    microsoft groups instead, the FAQ list a few that might be useful:
    http://www.parashift.com/c -faq-lite/how-to-post.html#faq-5.9

    --
    Erik Wikström
     
    =?UTF-8?B?RXJpayBXaWtzdHLDtm0=?=, Sep 24, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alec S.
    Replies:
    10
    Views:
    10,225
    Alec S.
    Apr 16, 2005
  2. Danny Anderson
    Replies:
    5
    Views:
    517
    Victor Bazarov
    Aug 15, 2003
  3. Avi

    Conditional include

    Avi, Sep 24, 2007, in forum: C++
    Replies:
    1
    Views:
    304
    red floyd
    Sep 24, 2007
  4. Andreas Bogenberger
    Replies:
    3
    Views:
    958
    Andreas Bogenberger
    Feb 22, 2008
  5. rocketeer

    Conditional include of JS files -- how?

    rocketeer, Aug 27, 2008, in forum: Javascript
    Replies:
    4
    Views:
    116
    rocketeer
    Aug 28, 2008
Loading...

Share This Page