Conditional include

A

Avi

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
 
G

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.

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top