Sign in to follow this  
masterGm

pls. help me "again"

Recommended Posts

My program don't work when I add this code : --------------------------------- VOID SetupMatrices() { D3DXMATRIXA16 matWorld; UINT iTime = timeGetTime() % 1000; FLOAT fAngle = iTime * (2.0f * D3DX_PI) / 1000.0f; ------------------------------------------ this is the error I get : ------------------------- atrices.obj : error LNK2001: unresolved external symbol __imp__timeGetTime@0 Debug/app.exe : fatal error LNK1120: 1 unresolved externals --------------------- what .lib I have to link ? or what is the problem ??

Share this post


Link to post
Share on other sites
winmm.lib

To find out which libraries you need to link, please refer to your API documentation. In this case, look at the MSDN entry for timeGetTime

And as Sneftel requested last time, please give your threads more descriptive names, such as "Linker error - timeGetTime" as it helps people to help you more effectivley.

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