|
-
May 26th, 2001, 07:53 PM
#1
VC 6.0 Linker error when calling timeGetTime WINAPI function
I’m converting a “Tetris” game from Visual Basic 5.0 to Visual C++ 6.0. In the VB version, I used easily the “TimeGetTime” WINAPI function to get the highest resolution interval for the sprites animation. In VC++ 6.0, I tried to use the same function declaring the “mmsystem.h” header but the compiler gives me the following error code :
TetrisView.obj : error LNK2001: unresolved external symbol __imp__timeGetTime@0
Debug/Tetris.exe : fatal error LNK1120: 1 unresolved externals
I didn’t think that it could be so difficult to use an WINAPI function in a Visual C++ project. If anybody had a simple answer to my problem, it would be great !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|