Sign in to follow this  

D3DXCreateFont signature differs between header file and MSDN

Recommended Posts

MatejTomcik    122
Hi, I've this small problem, but I can't fix that: I tried to use D3DXCreateFont function with this definition: but when I compile the source, I receive this error: "function does not take 12 arguments" So I "Went to definition" of the D3DXCreateFont function in VC++2008. It found this: HRESULT WINAPI D3DXCreateFont( LPDIRECT3DDEVICE9 pDevice, HFONT hFont, LPD3DXFONT* ppFont); ??? I don't understand why is this definition different from Microsoft's one... [Edited by - jollyjeffers on March 1, 2008 12:31:59 PM]

Share this post

Link to post
Share on other sites
jollyjeffers    1570
Firstly, please use more descriptive subject lines for your threads. A good subject line gets your thread attention which will get you answers - which, I assume, is what you're hoping for [smile]


What SDK are you using? The online MSDN documentation is always the latest-and-greatest SDK version, November 2007 currently. I suspect you might have an older SDK installed which had a different implementation.


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