Sign in to follow this  

Unresolved external...

Recommended Posts

int D3DApp::countAdapters()
IDXGIFactory * fac;
IDXGIAdapter * adapter;
int i = 0;

h = CreateDXGIFactory(__uuidof(IDXGIFactory), (void**)&fac);

if(h != S_OK) return -1;

while(fac->EnumAdapters(i, &adapter) != DXGI_ERROR_NOT_FOUND)

return i;

I'm getting unresolved external on CreateFactory. Any ideas?

I think I have all the includes set correctly.

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