Click here to Skip to main content
15,905,914 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: No Word Wrap at CR or LF or CRLF Pin
thomasIC26-Aug-09 1:08
thomasIC26-Aug-09 1:08 
GeneralRe: No Word Wrap at CR or LF or CRLF Pin
«_Superman_»26-Aug-09 2:03
professional«_Superman_»26-Aug-09 2:03 
GeneralRe: No Word Wrap at CR or LF or CRLF Pin
thomasIC26-Aug-09 2:30
thomasIC26-Aug-09 2:30 
GeneralRe: No Word Wrap at CR or LF or CRLF Pin
David Crow26-Aug-09 3:00
David Crow26-Aug-09 3:00 
GeneralRe: No Word Wrap at CR or LF or CRLF Pin
thomasIC26-Aug-09 3:14
thomasIC26-Aug-09 3:14 
QuestionRe: No Word Wrap at CR or LF or CRLF Pin
David Crow26-Aug-09 3:18
David Crow26-Aug-09 3:18 
AnswerRe: No Word Wrap at CR or LF or CRLF Pin
thomasIC26-Aug-09 3:44
thomasIC26-Aug-09 3:44 
QuestionDirectx Pin
messages25-Aug-09 23:44
messages25-Aug-09 23:44 
Hi everyone
my os is vista 64bit pack1 and I installed DirectX SDK(10) on my system
but I cant compile this code an it returns :

hr=E_INVALIDARG


DXGI_SWAP_CHAIN_DESC swapchainDesc;
ZeroMemory(&swapchainDesc,sizeof(swapchainDesc));
swapchainDesc.BufferCount=1;
swapchainDesc.BufferDesc.Width=width;
swapchainDesc.BufferDesc.Height=height;
swapchainDesc.BufferDesc.Format=DXGI_FORMAT_R8G8B8A8_UNORM;
swapchainDesc.BufferDesc.RefreshRate.Numerator=60;
swapchainDesc.BufferDesc.RefreshRate.Denominator=1;
swapchainDesc.BufferUsage=DXGI_USAGE_RENDER_TARGET_OUTPUT;
swapchainDesc.OutputWindow=hWnd;
swapchainDesc.SampleDesc.Count=1;
swapchainDesc.SampleDesc.Quality=0;
swapchainDesc.Windowed=false;
HRESULT hr=D3D10CreateDeviceAndSwapChain(NULL,
D3D10_DRIVER_TYPE_REFERENCE,
NULL,
0,
D3D10_SDK_VERSION,
&swapchainDesc,
&pSwapChain,
&pD3DDevice);


on the callstack window it shows this message:

The application was compiled against and will only work with D3D10_SDK_VERSION (28), but the currently installed runtime is version (29).
Recompile the application against the appropriate SDK for the installed runtime.


I tired with examples of Directx but error is same.

how can I solve this problem?
AnswerRe: Directx Pin
Stuart Dootson26-Aug-09 3:50
professionalStuart Dootson26-Aug-09 3:50 
AnswerRe: Directx Pin
Stuart Dootson26-Aug-09 5:15
professionalStuart Dootson26-Aug-09 5:15 
Questionbyte to int -> bit shifting confusion [modified] Pin
Souldrift25-Aug-09 21:31
Souldrift25-Aug-09 21:31 
AnswerRe: byte to int -> bit shifting confusion Pin
CPallini25-Aug-09 21:40
mveCPallini25-Aug-09 21:40 
GeneralRe: byte to int -> bit shifting confusion Pin
Souldrift25-Aug-09 21:43
Souldrift25-Aug-09 21:43 
AnswerRe: byte to int -> bit shifting confusion Pin
Stuart Dootson25-Aug-09 22:11
professionalStuart Dootson25-Aug-09 22:11 
GeneralRe: byte to int -> bit shifting confusion Pin
Souldrift25-Aug-09 22:23
Souldrift25-Aug-09 22:23 
QuestionMinimize Mainframe in SDI Pin
kiranin25-Aug-09 21:18
kiranin25-Aug-09 21:18 
AnswerRe: Minimize Mainframe in SDI Pin
Amin.Abdi25-Aug-09 21:36
Amin.Abdi25-Aug-09 21:36 
QuestionRe: Minimize Mainframe in SDI Pin
kiranin25-Aug-09 21:56
kiranin25-Aug-09 21:56 
AnswerRe: Minimize Mainframe in SDI Pin
Rajesh R Subramanian25-Aug-09 21:58
professionalRajesh R Subramanian25-Aug-09 21:58 
AnswerRe: Minimize Mainframe in SDI Pin
Rajesh R Subramanian25-Aug-09 21:57
professionalRajesh R Subramanian25-Aug-09 21:57 
GeneralRe: Minimize Mainframe in SDI Pin
kiranin25-Aug-09 22:11
kiranin25-Aug-09 22:11 
QuestionRe: Minimize Mainframe in SDI Pin
Amin.Abdi25-Aug-09 22:43
Amin.Abdi25-Aug-09 22:43 
AnswerRe: Minimize Mainframe in SDI Pin
kiranin25-Aug-09 23:32
kiranin25-Aug-09 23:32 
QuestionLoad Bitmap from file to doc Pin
Amin.Abdi25-Aug-09 21:13
Amin.Abdi25-Aug-09 21:13 
AnswerRe: Load Bitmap from file to doc Pin
Cedric Moonen25-Aug-09 21:32
Cedric Moonen25-Aug-09 21:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.