Simple DirectX question

This is a discussion on Simple DirectX question within the Windows Programming forums, part of the Platform Specific Boards category; When I try to compile the first tutorial for Direct3d in the DirectX SDK it comes up with these two ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    162

    Question Simple question. Please help!

    When I try to compile the first tutorial for Direct3d in the DirectX SDK it comes up with these two errors about 15 different times in the entire thing:

    23 c:\dev-c_~1\include\unknwn.h
    warning: `com_interface' attribute directive ignored
    37 c:\dev-c_~1\include\unknwn.h
    `com_interface' only supported with -fvtable-thunks

    I was wondering if anybody knew what this error was about. Thank you for your help!
    Last edited by Crossbow; 12-11-2001 at 08:28 PM.

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    164
    You are using GCC and you'll have to specify -fvtable-thunks to compile code that uses COM in GCC.
    // Gliptic

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# and DirectX Downloads? (Simple Q, Please reply)
    By Zeusbwr in forum Windows Programming
    Replies: 2
    Last Post: 05-06-2005, 10:31 AM
  2. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-21-2005, 12:41 AM
  3. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 09:46 AM
  4. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 12:15 PM
  5. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 04:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21