• Advertisement
Sign in to follow this  

DirectX 10 problem

This topic is 4269 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I get error LNK203: unresolved external symbol when I use the function CreateDeviceAndSwapChain. Of course I want to use the reference raster. Im useing Vista, and if I take away this command the code compiles, every other dx10 command works. Please if you have managed to compile and run on Vista using reference raster write to me :) /Alex

Share this post


Link to post
Share on other sites
Advertisement
The function should be D3D10CreateDeviceAndSwapChain and you have to link with the D3D10.lib

Share this post


Link to post
Share on other sites
About the linking:

I HAVE chosen the directory where that file is in
Tools->options->Project&Solutions->VC++Directories
under Executable files.

This doesnt seem to work so is there another way?

Share this post


Link to post
Share on other sites
Quote:
Original post by alebo611
About the linking:

I HAVE chosen the directory where that file is in
Tools->options->Project&Solutions->VC++Directories
under Executable files.

This doesnt seem to work so is there another way?


put in in the library files list, not the executable list.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement