Archived

This topic is now archived and is closed to further replies.

RedFTiger

Directx probelms

Recommended Posts

Im a newbie and just finished writing first directx program. However when i compile it, it says "com interface only supported with fvtable thunks, warnimg com interface attribute directive ignored". Help Will be appreciated Edited by - RedFTiger on February 19, 2002 2:05:00 PM

Share this post


Link to post
Share on other sites
If I remember right, you have to add this to your linking string: "-fvtable-thunks". Other than that, I would think it would give you that error thousands of times, so I thought it told you to do that.

Share this post


Link to post
Share on other sites
I guess my first question should have been "What compiler are you using?" If it''s not MSVC, then I''m of no help.

If you are using MSVC, can you post the entire line from the output window?

Also, try this: create a blank Win32 project, and copy your files into it. If your settings are messed up, this might help.

Share this post


Link to post
Share on other sites
Thanks for the advice but im using Dev-C++. Also ive tried copying already complete code into to my project and still get the same 31 errors. "''Com Interface'' only supported with fvtable-thunks. Warning ''Com Interface'' attribute directive ignored".

Share this post


Link to post
Share on other sites
Does any know where i can find a good free C++ Compiler simaliar to Dev-C++. Help would be appreciated

Edited by - RedFTiger on February 20, 2002 9:25:02 PM

Share this post


Link to post
Share on other sites
1. go to Compiler Options
2. Where it says "Add the following commands when calling compiler" check the box and put -fvtable-thunks then click OK



Edited by - Assassin_X on February 20, 2002 9:36:04 PM

Share this post


Link to post
Share on other sites