Sign in to follow this  
Surgery

atlbase.h

Recommended Posts

Hey all, I'm using VC++ Express so it doesn't come with the ATL libraries. But the tutorials I am following use it for the CA2W macro. I did some searching and it seems like it used to come with the Windows SDK for free. I downloaded the windows SDK and no atlbase.h that I could find. I was wondering if there was anywhere I could get the ATL, I've looked on the microsoft website and found nothing. Or maybe another way to do what CA2W does with out the ATL (if i understand correctly is converts a normal string to a wide string). Thanks.

Share this post


Link to post
Share on other sites
Assuming you want to use a char* in a Direct3D function, you can use the 'A' version of function instead of converting to widechar. For example, use D3DXCreateTextureFromFileA to provide a char* filename.

I hope that's what you want. IIRC there's also a Win32 equivalent to CA2W, but I don't remember it offhand.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this