   DirectX 10 problem
  Hi!I get error LNK203: unresolved external symbolwhen I use the function CreateDeviceAndSwapChain.Of course I want to use the reference raster.Im useing Vista, and if I take away this command thecode compiles, every other dx10 command works.Please if you have managed to compile and run on Vista usingreference raster write to me :)/Alex   
  The function should be D3D10CreateDeviceAndSwapChain and you have to link with the D3D10.lib   ;  About the linking:I HAVE chosen the directory where that file is in Tools->options->Project&Solutions->VC++Directoriesunder Executable files.This doesnt seem to work so is there another way?   ;  ok I got it, #pragma comment(lib, "d3d10"), right?   ;Quote:Original post by alebo611About the linking:I HAVE chosen the directory where that file is in Tools->options->Project&Solutions->VC++Directoriesunder Executable files.This doesnt seem to work so is there another way?put in in the library files list, not the executable list.   