В чем ошибка кода???

Discussion in 'С/С++, C#, Rust, Swift, Go, Java, Perl, Ruby' started by spoonmanka, 22 Feb 2014.

  1. spoonmanka

    spoonmanka New Member

    Joined:
    8 Nov 2013
    Messages:
    8
    Likes Received:
    0
    Reputations:
    0
    Вот код DirectX: http://yadi.sk/d/fRqSM9q6JKsoF
    Использую студию восьмую! Выдает ошибку:
    error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "void __cdecl Matrix(void)" (?Matrix@@YAXXZ)
    И еще:
    fatal error LNK1120: 1 unresolved externalsC:\Code\Urok6\Debug\Urok6.exe
    Хэлп!
     
  2. qaz

    qaz Elder - Старейшина

    Joined:
    12 Jul 2010
    Messages:
    1,551
    Likes Received:
    173
    Reputations:
    75
    ошибка линковщика, создан файл который не используется в проекте
     
  3. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    Code:
    #pragma comment(lib, "Winmm.lib");
    
     
    _________________________