Jump to content
  • Advertisement
Sign in to follow this  
MatejTomcik

D3DXCreateFont signature differs between header file and MSDN

This topic is 3790 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I've this small problem, but I can't fix that: I tried to use D3DXCreateFont function with this definition: http://msdn2.microsoft.com/en-us/library/bb172773(VS.85).aspx 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
Advertisement
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]

Anyway

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.


hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!