PDA

View Full Version : Problems compiling a Project



DirkM
April 24, 2007, 14:17:54
Hallo,

I use Visual C++ 6.0, The DirectX SDK (April 2007) and the MS Platform SDK (last Release), IC 3.0.
I have made the Project Settings (Path, lib's ...) as described in the 'First Steps'. When I tried to compile the project I got a lot of error messages like :

*****
e:\programme\microsoft platform sdk for windows server 2003 r2\include\strmif.h(27614) : error C2146: Syntaxfehler : Fehlendes ';' vor Bezeichner 'lpSurf'
e:\programme\microsoft platform sdk for windows server 2003 r2\include\strmif.h(27614) : error C2501: 'LPDIRECTDRAWSURFACE7' : Fehlende Speicherklasse oder Typbezeichner
e:\programme\microsoft platform sdk for windows server 2003 r2\include\strmif.h(27614) : error C2501: 'lpSurf' : Fehlende Speicherklasse oder Typbezeichner
e:\programme\microsoft platform sdk for windows server 2003 r2\include\strmif.h(27815) : error C2061: Syntaxfehler : Bezeichner 'LPDIRECTDRAWSURFACE7'
*****

I have tried to compile on an other system with the directX 9.0c SDK. But the
result (the error messages) was the same.

I think it is a problem with the SDK Configuration. But I have no idea, what to do ! If anyone has an idea ...

Thank's

Dirk

Stefan Geissler
April 24, 2007, 14:57:03
Hello Dirk,

The last DirectX SDK does no longer support Visual Studio 6. You may search Microsoft.com for a matching version or send a request to support@imagingcontrol.com (also in German language if you want.)