Original Post
hello, I'm making a simple directx program, from what I know I'm supposed to "#include <ddraw.h>" and add ddraw.lib to my project and put mssdk/include in the search path(which I did), when I try to compile I get 31 error messages which I will get to later, I am sure that this is my fault and I'm not sure what exactly I'm doing wrong, but I'm sure that it has something to do with the directx file's. Unfortunately I know I have had this problem before(on a different compiler) about a year or more ago, but I can't remember the solution.(my compiler should be in my sig)
here are the error messages:
49 e:\dev-c_~1\include\objbase.h
from E:\mssdk\include\ddraw.h:26,
12 work4.cpp
E:\DEV-C_~1\INCLUDE\unknwn.h:23: `com_interface' only supported with -fvtable-thunks
23 e:\dev-c_~1\include\unknwn.h
warning: `com_interface' attribute directive ignored
37 e:\dev-c_~1\include\unknwn.h
`com_interface' only supported with -fvtable-thunks
37 e:\dev-c_~1\include\unknwn.h
warning: `com_interface' attribute directive ignored
50 e:\dev-c_~1\include\objbase.h
from E:\mssdk\include\ddraw.h:26,
12 work4.cpp
E:\DEV-C_~1\INCLUDE\objidl.h:367: `com_interface' only supported with -fvtable-thunks
367 e:\dev-c_~1\include\objidl.h
warning: `com_interface' attribute directive ignored
368 e:\dev-c_~1\include\objidl.h
`com_interface' only supported with -fvtable-thunks
edit by ze: Removed roughly 27 copies of the above error message. Did you really think adding all that helped?
Bloodshed Dev-C++ 4.01 DX 8.0a DX SDK 6.1 win98 #define WIN32_LEAN_AND_MEAN the Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path. [edited by - zealouselixir on December 20, 2002 12:52:02 AM]
Bloodshed Dev-C++ 4.01 DX 8.0a DX SDK 6.1 win98 #define WIN32_LEAN_AND_MEAN the Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path. [edited by - zealouselixir on December 20, 2002 12:52:02 AM]