Page 1 of 1

ERROR_MOD_NOT_FOUND (SOLVED)

Posted: May 16th, 2017, 7:06 pm
by ceofil
Hi there.
Does anyone know how to solve this?
Image
I will be gone for a day or so..so thank you in advance.

Re: ERROR_MOD_NOT_FOUND

Posted: May 16th, 2017, 7:44 pm
by albinopapa

Code: Select all

	// create device and front/back buffers
	if( FAILED( hr = D3D11CreateDeviceAndSwapChain( 
		nullptr,
		D3D_DRIVER_TYPE_HARDWARE,
		nullptr,
		createFlags,
		nullptr,
		0,
		D3D11_SDK_VERSION,
		&sd,
		&pSwapChain,
		&pDevice,
		nullptr,
		&pImmediateContext ) ) )
	{
		throw CHILI_GFX_EXCEPTION( hr,L"Creating device and swap chain" );
	}
This is the function call that is failing.

What version of Windows are you using?
What GPU are you using?
What version of Visual Studio are you using?
Does the code here match what you have in your code? Have you changed something?

Re: ERROR_MOD_NOT_FOUND

Posted: May 17th, 2017, 4:51 am
by ceofil
It was because I somehow managed to fuck up the drivers, it's working now. Thank you for answering :)