02.07 - The Readiness Test
Started by Teej, Apr 20 2001 04:05 AM
215 replies to this topic
#143 Members - Reputation: 122
Posted 02 August 2001 - 06:28 AM
AT LAST!!!!!! i have had to download the directx sdk again because when i went to install it didnt work because 20 mb had misteriously dissaperared, so i was hitting my head against the wall now that i had finally found the compiler..... but i downloaded it agai and the thing compiled!!!!!! hahahaha , at last!!!!!!
#144 Members - Reputation: 358
Posted 02 August 2001 - 04:08 PM
Hi everyone.
I''ve compiled and linked CodeBase1 successfully but i''ve found a little problem. If i run the executable from Visual C++ menu it works fine but if i try to run it by double clicking the file on Windows Explorer i get this error window: "DD_init failed: -7".
I used VC++ 6.0 and DirectX 8.0 SDK. Anyone else got the same problem?
Blew
I''ve compiled and linked CodeBase1 successfully but i''ve found a little problem. If i run the executable from Visual C++ menu it works fine but if i try to run it by double clicking the file on Windows Explorer i get this error window: "DD_init failed: -7".
I used VC++ 6.0 and DirectX 8.0 SDK. Anyone else got the same problem?
Blew
#146 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 05 August 2001 - 02:49 PM
After a good couple hours I''ve wittled this bugger down from 220 errors and 46 warnings to a single error, but now I''m stumped...its giving me
"Link Error : Undefined symbol: _WinMainCRTStartup in
module entry point"
The Project IS a win32 project, and I checked a couple dozen times on my included libs and such, and they seem to be in line. I checked on this MSDN library thing and it just says this symbol is similar to WinMain and such. Why should it be a problem then as its a win32 ap?
-A confoozled Wombat-
"Link Error : Undefined symbol: _WinMainCRTStartup in
module entry point"
The Project IS a win32 project, and I checked a couple dozen times on my included libs and such, and they seem to be in line. I checked on this MSDN library thing and it just says this symbol is similar to WinMain and such. Why should it be a problem then as its a win32 ap?
-A confoozled Wombat-
#147 Members - Reputation: 122
Posted 17 August 2001 - 02:05 AM
i have a problem compiling the code please help.
i am using dev c++ 4,
i have all the files mentioned in the posts except mmreg.lib
and i get these errors.
In file included from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:12:
C:\DEV-C_~1\INCLUDE\mmsystem.h:21: warning: `MAKEFOURCC'' redefined
C:\MSSDK\INCLUDE\ddraw.h:69: warning: this is the location of the previous definition
In file included from C:\DEV-C_~1\INCLUDE\objbase.h:49,
from C:\MSSDK\INCLUDE\ddraw.h:36,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\DEV-C_~1\INCLUDE\unknwn.h:23: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\unknwn.h:23: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\unknwn.h:37: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\unknwn.h:37: warning: `com_interface'' attribute directive ignored
In file included from C:\DEV-C_~1\INCLUDE\objbase.h:50,
from C:\MSSDK\INCLUDE\ddraw.h:36,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\DEV-C_~1\INCLUDE\objidl.h:367: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:367: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:368: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:368: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:369: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:369: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:370: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:370: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:371: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:371: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:372: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:372: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:373: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:373: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:374: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:374: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:375: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:375: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:395: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:395: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:410: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:410: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:420: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:420: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:435: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:435: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:456: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:456: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:468: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:468: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:478: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:478: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:492: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:492: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:508: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:508: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:527: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:527: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:556: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:556: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:572: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:572: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:587: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:587: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:601: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:601: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:616: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:616: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:634: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:634: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:647: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:647: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:671: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:671: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:681: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:681: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:695: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:695: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:707: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:707: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:723: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:723: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:734: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:734: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:750: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:750: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:761: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:761: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:775: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:775: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:785: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:785: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:800: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:800: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:821: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:821: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:834: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:834: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:846: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:846: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:859: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:859: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:869: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:869: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:882: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:882: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:892: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:892: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:905: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:905: warning: `com_interface'' attribute directive ignored
In file included from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\MSSDK\INCLUDE\ddraw.h:999: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:999: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1085: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1085: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1177: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1177: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1279: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1279: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1364: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1364: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1406: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1406: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1478: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1478: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1605: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1605: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1740: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1740: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1883: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1883: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2041: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2041: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2161: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2161: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2195: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2195: warning: `com_interface'' attribute directive ignored
In file included from c:\dev-c++\fullscreenmode\ddutil.h:12,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:14:
C:\MSSDK\INCLUDE\d3d.h:216: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:216: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:260: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:260: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:308: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:308: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:358: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:358: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:415: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:415: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:509: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:509: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:635: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:635: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:786: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:786: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:914: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:914: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:959: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:959: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:999: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:999: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1040: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1040: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1076: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1076: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1116: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1116: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1155: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1155: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1203: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1203: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1270: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1270: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1346: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1346: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1414: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1414: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1457: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1457: warning: `com_interface'' attribute directive ignored
i think that it maybe that i have done somthing wrong or am just plain thick.
please help
andy c
i am using dev c++ 4,
i have all the files mentioned in the posts except mmreg.lib
and i get these errors.
In file included from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:12:
C:\DEV-C_~1\INCLUDE\mmsystem.h:21: warning: `MAKEFOURCC'' redefined
C:\MSSDK\INCLUDE\ddraw.h:69: warning: this is the location of the previous definition
In file included from C:\DEV-C_~1\INCLUDE\objbase.h:49,
from C:\MSSDK\INCLUDE\ddraw.h:36,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\DEV-C_~1\INCLUDE\unknwn.h:23: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\unknwn.h:23: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\unknwn.h:37: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\unknwn.h:37: warning: `com_interface'' attribute directive ignored
In file included from C:\DEV-C_~1\INCLUDE\objbase.h:50,
from C:\MSSDK\INCLUDE\ddraw.h:36,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\DEV-C_~1\INCLUDE\objidl.h:367: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:367: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:368: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:368: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:369: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:369: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:370: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:370: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:371: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:371: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:372: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:372: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:373: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:373: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:374: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:374: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:375: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:375: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:395: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:395: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:410: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:410: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:420: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:420: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:435: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:435: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:456: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:456: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:468: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:468: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:478: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:478: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:492: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:492: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:508: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:508: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:527: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:527: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:556: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:556: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:572: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:572: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:587: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:587: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:601: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:601: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:616: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:616: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:634: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:634: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:647: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:647: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:671: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:671: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:681: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:681: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:695: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:695: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:707: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:707: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:723: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:723: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:734: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:734: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:750: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:750: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:761: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:761: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:775: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:775: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:785: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:785: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:800: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:800: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:821: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:821: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:834: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:834: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:846: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:846: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:859: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:859: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:869: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:869: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:882: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:882: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:892: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:892: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:905: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:905: warning: `com_interface'' attribute directive ignored
In file included from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\MSSDK\INCLUDE\ddraw.h:999: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:999: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1085: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1085: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1177: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1177: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1279: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1279: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1364: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1364: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1406: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1406: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1478: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1478: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1605: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1605: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1740: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1740: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1883: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1883: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2041: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2041: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2161: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2161: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2195: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2195: warning: `com_interface'' attribute directive ignored
In file included from c:\dev-c++\fullscreenmode\ddutil.h:12,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:14:
C:\MSSDK\INCLUDE\d3d.h:216: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:216: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:260: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:260: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:308: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:308: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:358: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:358: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:415: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:415: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:509: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:509: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:635: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:635: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:786: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:786: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:914: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:914: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:959: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:959: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:999: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:999: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1040: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1040: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1076: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1076: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1116: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1116: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1155: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1155: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1203: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1203: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1270: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1270: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1346: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1346: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1414: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1414: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1457: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1457: warning: `com_interface'' attribute directive ignored
i think that it maybe that i have done somthing wrong or am just plain thick.
please help
andy c
#148 Members - Reputation: 122
Posted 17 August 2001 - 02:05 AM
i have a problem compiling the code please help.
i am using dev c++ 4,
i have all the files mentioned in the posts except mmreg.lib
and i get these errors.
In file included from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:12:
C:\DEV-C_~1\INCLUDE\mmsystem.h:21: warning: `MAKEFOURCC'' redefined
C:\MSSDK\INCLUDE\ddraw.h:69: warning: this is the location of the previous definition
In file included from C:\DEV-C_~1\INCLUDE\objbase.h:49,
from C:\MSSDK\INCLUDE\ddraw.h:36,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\DEV-C_~1\INCLUDE\unknwn.h:23: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\unknwn.h:23: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\unknwn.h:37: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\unknwn.h:37: warning: `com_interface'' attribute directive ignored
In file included from C:\DEV-C_~1\INCLUDE\objbase.h:50,
from C:\MSSDK\INCLUDE\ddraw.h:36,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\DEV-C_~1\INCLUDE\objidl.h:367: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:367: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:368: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:368: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:369: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:369: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:370: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:370: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:371: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:371: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:372: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:372: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:373: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:373: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:374: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:374: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:375: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:375: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:395: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:395: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:410: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:410: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:420: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:420: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:435: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:435: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:456: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:456: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:468: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:468: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:478: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:478: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:492: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:492: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:508: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:508: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:527: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:527: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:556: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:556: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:572: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:572: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:587: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:587: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:601: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:601: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:616: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:616: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:634: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:634: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:647: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:647: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:671: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:671: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:681: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:681: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:695: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:695: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:707: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:707: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:723: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:723: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:734: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:734: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:750: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:750: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:761: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:761: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:775: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:775: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:785: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:785: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:800: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:800: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:821: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:821: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:834: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:834: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:846: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:846: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:859: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:859: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:869: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:869: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:882: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:882: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:892: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:892: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:905: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:905: warning: `com_interface'' attribute directive ignored
In file included from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\MSSDK\INCLUDE\ddraw.h:999: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:999: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1085: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1085: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1177: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1177: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1279: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1279: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1364: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1364: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1406: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1406: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1478: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1478: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1605: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1605: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1740: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1740: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1883: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1883: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2041: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2041: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2161: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2161: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2195: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2195: warning: `com_interface'' attribute directive ignored
In file included from c:\dev-c++\fullscreenmode\ddutil.h:12,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:14:
C:\MSSDK\INCLUDE\d3d.h:216: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:216: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:260: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:260: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:308: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:308: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:358: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:358: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:415: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:415: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:509: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:509: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:635: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:635: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:786: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:786: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:914: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:914: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:959: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:959: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:999: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:999: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1040: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1040: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1076: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1076: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1116: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1116: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1155: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1155: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1203: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1203: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1270: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1270: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1346: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1346: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1414: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1414: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1457: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1457: warning: `com_interface'' attribute directive ignored
i think that it maybe that i have done somthing wrong or am just plain thick.
please help
andy c
i am using dev c++ 4,
i have all the files mentioned in the posts except mmreg.lib
and i get these errors.
In file included from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:12:
C:\DEV-C_~1\INCLUDE\mmsystem.h:21: warning: `MAKEFOURCC'' redefined
C:\MSSDK\INCLUDE\ddraw.h:69: warning: this is the location of the previous definition
In file included from C:\DEV-C_~1\INCLUDE\objbase.h:49,
from C:\MSSDK\INCLUDE\ddraw.h:36,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\DEV-C_~1\INCLUDE\unknwn.h:23: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\unknwn.h:23: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\unknwn.h:37: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\unknwn.h:37: warning: `com_interface'' attribute directive ignored
In file included from C:\DEV-C_~1\INCLUDE\objbase.h:50,
from C:\MSSDK\INCLUDE\ddraw.h:36,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\DEV-C_~1\INCLUDE\objidl.h:367: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:367: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:368: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:368: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:369: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:369: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:370: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:370: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:371: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:371: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:372: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:372: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:373: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:373: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:374: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:374: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:375: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:375: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:395: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:395: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:410: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:410: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:420: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:420: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:435: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:435: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:456: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:456: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:468: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:468: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:478: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:478: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:492: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:492: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:508: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:508: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:527: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:527: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:556: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:556: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:572: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:572: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:587: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:587: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:601: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:601: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:616: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:616: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:634: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:634: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:647: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:647: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:671: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:671: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:681: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:681: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:695: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:695: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:707: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:707: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:723: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:723: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:734: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:734: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:750: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:750: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:761: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:761: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:775: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:775: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:785: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:785: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:800: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:800: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:821: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:821: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:834: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:834: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:846: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:846: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:859: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:859: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:869: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:869: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:882: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:882: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:892: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:892: warning: `com_interface'' attribute directive ignored
C:\DEV-C_~1\INCLUDE\objidl.h:905: `com_interface'' only supported with -fvtable-thunks
C:\DEV-C_~1\INCLUDE\objidl.h:905: warning: `com_interface'' attribute directive ignored
In file included from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:11:
C:\MSSDK\INCLUDE\ddraw.h:999: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:999: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1085: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1085: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1177: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1177: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1279: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1279: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1364: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1364: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1406: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1406: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1478: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1478: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1605: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1605: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1740: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1740: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:1883: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:1883: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2041: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2041: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2161: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2161: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\ddraw.h:2195: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\ddraw.h:2195: warning: `com_interface'' attribute directive ignored
In file included from c:\dev-c++\fullscreenmode\ddutil.h:12,
from c:\dev-c++\fullscreenmode\fullscreenmode.cpp:14:
C:\MSSDK\INCLUDE\d3d.h:216: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:216: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:260: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:260: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:308: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:308: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:358: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:358: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:415: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:415: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:509: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:509: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:635: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:635: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:786: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:786: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:914: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:914: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:959: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:959: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:999: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:999: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1040: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1040: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1076: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1076: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1116: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1116: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1155: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1155: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1203: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1203: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1270: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1270: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1346: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1346: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1414: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1414: warning: `com_interface'' attribute directive ignored
C:\MSSDK\INCLUDE\d3d.h:1457: `com_interface'' only supported with -fvtable-thunks
C:\MSSDK\INCLUDE\d3d.h:1457: warning: `com_interface'' attribute directive ignored
i think that it maybe that i have done somthing wrong or am just plain thick.
please help
andy c
#150 Members - Reputation: 122
Posted 17 August 2001 - 05:10 AM
thx the tramp, i worked out where that goes and it has reduced my errors to 16, as the errors point to the same thing i think i may be missing a file (mmreg.lib).
here are the errors now
In file included from c:\dev-c++\Globals.h:34,
from c:/dev-c++/winbase.cpp:12:
C:\DEV-C_~1\INCLUDE\mmreg.h:1104: redefinition of `struct tWAVEFORMATEX''
C:\DEV-C_~1\INCLUDE\mmsystem.h:1012: previous definition here
In file included from c:\dev-c++\Globals.h:34,
from c:/dev-c++/gamemain.cpp:13:
C:\DEV-C_~1\INCLUDE\mmreg.h:1104: redefinition of `struct tWAVEFORMATEX''
C:\DEV-C_~1\INCLUDE\mmsystem.h:1012: previous definition here
In file included from c:\dev-c++\Globals.h:34,
from c:/dev-c++/initterm.cpp:12:
C:\DEV-C_~1\INCLUDE\mmreg.h:1104: redefinition of `struct tWAVEFORMATEX''
C:\DEV-C_~1\INCLUDE\mmsystem.h:1012: previous definition here
c:/dev-c++/initterm.cpp: In function `int DS_Init()'':
c:/dev-c++/initterm.cpp:153: no matching function for call to `tWAVEFORMATEX::tWAVEFORMATEX ()''
C:\DEV-C_~1\INCLUDE\mmreg.h:1112: candidates are: tWAVEFORMATEX::tWAVEFORMATEX(const tWAVEFORMATEX &)
In file included from c:\dev-c++\Globals.h:34,
from c:\dev-c++\Utils.h:15,
from c:/dev-c++/utils.cpp:12:
C:\DEV-C_~1\INCLUDE\mmreg.h:1104: redefinition of `struct tWAVEFORMATEX''
C:\DEV-C_~1\INCLUDE\mmsystem.h:1012: previous definition here
c:/dev-c++/utils.cpp: In function `long int ReadMMIO(HMMIO__ *, MMCKINFO *, tWAVEFORMATEX **)'':
c:/dev-c++/utils.cpp:280: no matching function for call to `tWAVEFORMATEX::tWAVEFORMATEX ()''
C:\DEV-C_~1\INCLUDE\mmreg.h:1112: candidates are: tWAVEFORMATEX::tWAVEFORMATEX(const tWAVEFORMATEX &)
sorry to everyone about the double post for the last message.
can anyone help with this, maybe if someone could send me that file please to andrewcroft@cableinet.co.uk i can at least eliminate it
andy c
Thanks
nearly there its driving me mad!!!
here are the errors now
In file included from c:\dev-c++\Globals.h:34,
from c:/dev-c++/winbase.cpp:12:
C:\DEV-C_~1\INCLUDE\mmreg.h:1104: redefinition of `struct tWAVEFORMATEX''
C:\DEV-C_~1\INCLUDE\mmsystem.h:1012: previous definition here
In file included from c:\dev-c++\Globals.h:34,
from c:/dev-c++/gamemain.cpp:13:
C:\DEV-C_~1\INCLUDE\mmreg.h:1104: redefinition of `struct tWAVEFORMATEX''
C:\DEV-C_~1\INCLUDE\mmsystem.h:1012: previous definition here
In file included from c:\dev-c++\Globals.h:34,
from c:/dev-c++/initterm.cpp:12:
C:\DEV-C_~1\INCLUDE\mmreg.h:1104: redefinition of `struct tWAVEFORMATEX''
C:\DEV-C_~1\INCLUDE\mmsystem.h:1012: previous definition here
c:/dev-c++/initterm.cpp: In function `int DS_Init()'':
c:/dev-c++/initterm.cpp:153: no matching function for call to `tWAVEFORMATEX::tWAVEFORMATEX ()''
C:\DEV-C_~1\INCLUDE\mmreg.h:1112: candidates are: tWAVEFORMATEX::tWAVEFORMATEX(const tWAVEFORMATEX &)
In file included from c:\dev-c++\Globals.h:34,
from c:\dev-c++\Utils.h:15,
from c:/dev-c++/utils.cpp:12:
C:\DEV-C_~1\INCLUDE\mmreg.h:1104: redefinition of `struct tWAVEFORMATEX''
C:\DEV-C_~1\INCLUDE\mmsystem.h:1012: previous definition here
c:/dev-c++/utils.cpp: In function `long int ReadMMIO(HMMIO__ *, MMCKINFO *, tWAVEFORMATEX **)'':
c:/dev-c++/utils.cpp:280: no matching function for call to `tWAVEFORMATEX::tWAVEFORMATEX ()''
C:\DEV-C_~1\INCLUDE\mmreg.h:1112: candidates are: tWAVEFORMATEX::tWAVEFORMATEX(const tWAVEFORMATEX &)
sorry to everyone about the double post for the last message.
can anyone help with this, maybe if someone could send me that file please to andrewcroft@cableinet.co.uk i can at least eliminate it
andy c
Thanks
nearly there its driving me mad!!!
#151 Members - Reputation: 122
Posted 18 August 2001 - 04:39 AM
My compiler says(Dev-C++ for the moment, will be getting Visual C++ before next weekend) that global.h''s header file mmreg.h doesn''t exist, and it doesn''t on my computer because I checked all of Teej''s program and all of the includes that go to my compiler.
Please help! Where can I get mmreg.h?
In life we are all blind men or women, sometimes you crash into a wall, sometimes you remember to bring your walking stick.
SEZ
Please help! Where can I get mmreg.h?
In life we are all blind men or women, sometimes you crash into a wall, sometimes you remember to bring your walking stick.
SEZ
#154 Members - Reputation: 158
Posted 23 August 2001 - 03:12 PM
I get these stupid errors when I try to compile:
Linking...
Game.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw4
Debug/Game.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I put in all the headers and everything fine =\ (I modified the code a little, I am using the Tricks of the Windows Game Programming Gurus book)
Linking...
Game.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw4
Debug/Game.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I put in all the headers and everything fine =\ (I modified the code a little, I am using the Tricks of the Windows Game Programming Gurus book)
#156 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 09 September 2001 - 04:59 PM
Hmmmmm...
My problem:
I''ve got the files entered correctly (i.e. C:\mssdk\lib\ddraw.lib) With a space in between each, and a spcae between the last and the other .lib files. Maybe a problem with the fact that I''m using DirectX 8.0a and you''re using 7? I don''t know, please help. thanks.
My problem:
I''ve got the files entered correctly (i.e. C:\mssdk\lib\ddraw.lib) With a space in between each, and a spcae between the last and the other .lib files. Maybe a problem with the fact that I''m using DirectX 8.0a and you''re using 7? I don''t know, please help. thanks.
#157 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 09 September 2001 - 05:11 PM
quote:
Original post by Anonymous Poster
Hmmmmm...
My problem:
I''ve got the files entered correctly (i.e. C:\mssdk\lib\ddraw.lib) With a space in between each, and a spcae between the last and the other .lib files. Maybe a problem with the fact that I''m using DirectX 8.0a and you''re using 7? I don''t know, please help. thanks.
Hmmm, figured out at least part of my problem, reduced errors from 15 to 10 by making it "C:\mssdk\lib\*.lib" But I still have the last ten. Here''s the list:
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioAscend@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioRead@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioDescend@16
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioClose@8
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioOpenA@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioSeek@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioSetInfo@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioAdvance@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioGetInfo@12
Debug/Basecode1.exe : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.
Basecode1.exe - 10 error(s), 0 warning(s)
Once again, hmmmmmmmmm...
#158 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 10 September 2001 - 04:22 PM
Add winmm.lib after the directx libs.
#159 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 14 September 2001 - 11:49 AM
quote:
Original post by Anonymous Poster
Add winmm.lib after the directx libs.
Hmmm, it built, but In the debug window, after running, I get this:
Loaded ''C:\WINDOWS\SYSTEM\OLE32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\RPCRT4.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\DSOUND.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\WINMM.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\DINPUT.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\VERSION.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\ADVAPI32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\GDI32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\USER32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\KERNEL32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\NTDLL.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\DDRAW.DLL'', no matching symbolic information found.
Loaded ''C:\Program Files\Metabyte\EyeSCREAM\Global\R_DDRAW.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MSOSS.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\CRYPT32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MSVCRT.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MSCAT32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\WINTRUST.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\IMAGEHLP.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MSSIP32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\RSABASE.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\HID.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MPR.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\CFGMGR32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\WINSPOOL.DRV'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\COMDLG32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\LZ32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\COMCTL32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\SHLWAPI.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\SHELL32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\SETUPAPI.DLL'', no matching symbolic information found.
Loaded ''C:\Program Files\NeoPlanet\bin\idledet.dll'', no matching symbolic information found.
Loaded ''C:\Program Files\Microsoft Hardware\Mouse\Msh_zwf.dll'', no matching symbolic information found.
The thread 0xFFE3CC01 has exited with code -1 (0xFFFFFFFF).
The thread 0xFFE8E0E1 has exited with code 0 (0x0).
The program ''C:\My Programs\Basecode1\Debug\Basecode1.exe'' has exited with code 0 (0x0).
Something to do with my optical mouse? Anyone?






