#### Archived

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

# Dev c++4 w/SDK9 tutorial problem plz help

## Recommended Posts

Hi. I attempt to compile the file located in the Tutorial 1 :createDevice and get a few errors, 31 to be exact. the majority of the errors are the same repeated lines 369 c:\dev-c_~1\include\objidl.h com_interface'' only supported with -fvtable-thunks 369 c:\dev-c_~1\include\objidl.h warning: com_interface'' attribute directive ignored Can someone help me? this is the createdevice.cpp file located in the SDK9 tutorial

##### Share on other sites
To get rid of the first error you have to add "-fvtable-thunks" to the compiler options.

• ### Forum Statistics

• Total Topics
628378
• Total Posts
2982334

• 10
• 9
• 15
• 24
• 11